Click a method to see more information on its use, syntax, and parameters:
object.Count
Part | Description |
object | An AppConnModelRecord object |
Count | The number of records in the AppConnModelRecord object |
Dim Verastream_Session As AppConnModel
Dim AttributeRecord As AppConnModelRecord
Dim strModelName, strServerName, strEntity, strMessage As String
strModelName = "CCSDemo"
strServerName = "localhost"
strEntity = "SignonPanel"
Set Verastream_Session = New AppConnModel
Verastream_Session.ConnectToModel strServerName, strModelName
Verastream_Session.SetCurrentEntity (strEntity)
Set AttributeRecord = New AppConnModelRecord
Set AttributeRecord = Verastream_Session.GetAttributes
strMessage = "The number of records is " & AttributeRecord.Count
MsgBox strMessage, vbExclamation, "Verastream Message"
Set AttributeRecord = Nothing
Verastream_Session.Disconnect
Set Verastream_Session = Nothing
Set AttributeList = object.ElementNames
Part | Description |
AttributeList | An AppConnStringList object |
object | An AppConnModelRecord object |
Dim Verastream_Session As AppConnModel
Dim AttributeRecord As AppConnModelRecord
Dim strModelName, strServerName, strEntity, strMessage As String
Dim AttributeList As AppConnStringList
Dim I As Integer
strModelName = "CCSDemo"
strServerName = "localhost"
strEntity = "MainMenu"
Set Verastream_Session = New AppConnModel
Verastream_Session.ConnectToModel strServerName, strModelName
Verastream_Session.SetCurrentEntity (strEntity)
Set AttributeRecord = New AppConnModelRecord
Set AttributeRecord = Verastream_Session.GetAttributes
Set AttributeList = AttributeRecord.ElementNames
For I = 1 To AttributeRecord.Count
MsgBox ("Attribute " & AttributeList(I) & " = " & AttributeRecord(I))
Next
Set AttributeRecord = Nothing
Verastream_Session.Disconnect
Set AttributeList = Nothing
Set Verastream_Session = Nothing
object.FromXMLString(Record)
Part | Description |
object | An AppConnModelRecord object |
Record | An XML representation of the record |
Set TerminalAttributes = object.GetTerminalAttributes(Index)
Part | Description |
object | An AppConnModelRecord object |
Index | The name or index(starting at 1) of an element in the list |
TerminalAttributes | The terminal attributes for the given element |
Set TerminalAttributes = object.GetTerminalAttributes(Index)
Part | Description |
object | An AppConnModelRecord object |
Index | The name or index(starting at 1) of an element in the list |
TerminalAttributes | The terminal attributes for the given element |
Used to get the Host Integration recordset index of record.
object.Index
Part | Description |
object | A record object |
© 1999-2007 Attachmate Corporation. All rights reserved. Terms of Use.