Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another SQL Question
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00511240
Message ID:
00511245
Views:
19
>Craig,
>
>Actually I'm not using views. I was going to do this with pass-thru. That
>leaves the question of how to get a data source open to bind fields to.
>
>Thanks


You have a couple of ways:

- In the Form.Load you can query the data, but add the condition WHERE 1=0. This will return an empty cursor.

- After the initial query of the data, call a method that populates the ControlSource properties.

Personally, I like option 1.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform