Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update form data
Message
 
To
02/04/1998 17:18:18
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00089086
Message ID:
00089091
Views:
26
Hi Tom,

>create sql view agents_view as select * from a
>
>I can DO FORM AGETNSFORM which displays the view in the form.
>
>How do I make the connection between subsequent select statements to view the new data in the same form? Select wants to display its data in a BROWSE window. Do I have to CREATE SQL VIEW ... each time and then DELETE VIEW to get different data?
>
>e.g. select * from a where a.contactid = "KOGR"

select * from a where a.contactid = "KOGR" INTO CURSOR MYCURSOR

Will cause the selected records to be placed in a cursor called MYCURSOR and will not cause the Browse window to display.

Have you tried building the View in the View Designer, then Adding the View to the Data Environment and dragging fields from the view on to the form.

That should get you started....

HTH,
Jim Duffy
Microsoft MVP
INETA Speaker
TakeNote Technologies
Developer's Choice Award Winner for Best Training Company
Specializing in VB.NET, ASP.NET, VFP, and SQL Server Training and Development
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform