CasewareDocs

ReadLine

Gets the values of a complete row.

Compatibility

Available as of IDEA version 9.0

Syntax

ReadLine(rowNumber as Long)

Parameter

rowNumber

The number of the row which contains the values to be included.

Remark

Returns a list of values separated by ";".

Example

Sub Main 
Set CreateDatabase = SmartContext.MacroCommands.CreateDatabase

'Open an existing database and append records to it.
CreateDatabase.Open("My Database.IMD")
CreateDatabase.AppendValues ("1111;Create Database Test1#2222;Create Database Test2#3333;Create Database Test3")
CreateDatabase.PerformTask

'Close the database.
CreateDatabase.Close

'Open the database.
CreateDatabase.Open("My Database.IMD")

'Get the values from a complete row.
firstRow = CreateDatabase.ReadLine(1)

'Close the database.
CreateDatabase.Close

'Release objects.
Set CreateDatabase = Nothing
End Sub