Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unrecognized command verb
Message
From
14/07/2004 17:30:02
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00924272
Message ID:
00924407
Views:
19
But how does a method return a cursor? Does it return the name of the cursor?

>>Fred,
>>
>>A form method? Can you explain a little more?
>>
>>>Just to point out that .RowSourceType=3 does not require a SQL statement. I usually have mine pointing to a form method that does the SQL, rather than trying to cram it into the property sheet.
>>>
>
>Just create a custom form method (Form menu, new method). Now if in your .RowSourceType=3, in your .RowSource property you put "thisform.MethodName()" and as long as your method returns a cursor or table and is the current work area, your ListBox/Grid/ComboBox/etc gets populated. No trying to cram a complex SQL statement into the property sheet.
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform