Oracle Objects for OLE
Release 9.2

Part Number A95895-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback

Value (OraAQMsg) Property

Applies To

OraAQMsg Object

Description

Returns or sets the value of the given object.

Usage

Msg.Value = my_string

set Msg.Value = OraObj

my_string = Msg.Value

Set OraObj = Msg.Value

Remarks

The Value property represents the actual message for raw as well as user-defined types.

This property is not available at design time and read/write at runtime.

Example

'To set the value for a message of Raw type

OraAQMsg.Value = "This is a test message"

myString = "Another way of setting the message"

OraAQMsg.Value = myString

'To set the value for a message of user-defined type

Dim OraObj as OraObject

OraObj("subject").Value = txtdesc

OraObj("text").Value = txtmsg

set OraAQMsg.Value = OraObj

'To get the value from a message of raw type

myString = OraAQMsg.Value

'To get the value from a message of object type(user-defined type)

Set OraObj = OraMsg.Value

txtdesc = OraObj("subject").Value

txtmsg = OraObj("text").Value

Data Type

String


 
Oracle
Copyright © 1994, 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback