Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set filter to
Message
 
 
To
15/12/2001 12:29:49
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00593053
Message ID:
00594822
Views:
33
This message has been marked as a message which has helped to the initial question of the thread.
Try to assign empty string to the grid recordsource to prevent grid reconstruction, faq#8019. See in bold bellow.

>That's about what I'm doing.
>The only thing I build my SQl statment in my source code
>
>ex.
>Initialy :
>SELECT * from MEMBER into cursor tmpMemebre
>Thisform.myGrid.RecordSourceType = 1
>Thisform.myGrid.RecordSource = 'tmpMemebre'
>
>Later :
<b>Thisform.myGrid.RecordSource = SPACE(0) </b>
>SELECT * from MEMBER M WHEER M.MemDate < DATE() into cursor tmpMemebre
>Thisform.myGrid.RecordSourceType = 1
>Thisform.myGrid.RecordSource = 'tmpMemebre'
>Thisform.myGrid.Refresh
>
>The grid never gets the control back, it just freezes
>I also tried, removing my Grig object and adding it back on the fly, same thing.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform