Previous Topic

Next Topic

Inhoudsopgave

Book Index

Locate Method

Function Method Locate (KeyFields: String, Values: String)

Description

Navigates the grid's record pointer of the InfoFormObject to the specified record.

Parameters

Code Snippet

'The following code snippet contains an InfoFormObject showing countries.

'The record pointer is positioned on the record of which the country code is 'NL'

Set Frm = IsahObjects.Get("TInfoFormObject")

Frm.SQL = "select countrycode, description from t_country"

Frm.Locate "countrycode", "nl"

Frm.ShowModal

Set Frm = Nothing