Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filling a grid with output from SQL
Message
From
02/02/2000 14:44:26
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00326283
Message ID:
00326321
Views:
24
Insert ThisForm.grdOutput.recordsource = '' before the SQL-select.

HTH
>cmdbutton.click is this:
>
>USE q:/qa/qdms2000/DOCUMENT/document share
>SET MESSAGE TO ""
>
>l_cSearchtext='%'+upper(alltrim(ThisForm.txtSearchString.value))+'%'
>
>select * from document where title like l_cSearchtext order by number into cursor temp1
>
>ThisForm.grdOutput.recordsource='temp1'
>ThisForm.grdOutput.refresh
>thisform.refresh
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform