PreviousActiveX Controls Guide (9.1 revision 1) Next

ShowSelectedRecordsDlg

Show this topic in Library frames

Applies to:

VAccess

Description

Invoking this method will display the Extended Query Record Selection dialog box, allowing the user to change the SelectedRecords property at run time.

Syntax

object.ShowSelectedRecordsDlg  

The ShowSelectedRecordsDlg method syntax has these parts:

Part
Description
object
Required. The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Remarks

You must invoke the Init method after any changes to the extended fetch record or field selection criteria before invoking an extended fetch method such as GetNextExtended.

The ExtendedOps property must be set to True to enable the extended operations capabilities of the VAccess control.

Example

'Allow the user to set the record  
'selection criteria  
Customers.ShowSelectedRecordsDlg "Record Selection" 
're-establish current record positioning and  
'initialize the extended operations buffers  
'with the new field selections 
Customers.GetFirst 
Customers.Init 
Customers.GetNextExtended 

Chapter contents
Publication contents

Prev topic: ShowSelectedFieldsDlg
Next topic: Stat