Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids and refresh()
Message
From
08/05/1998 01:58:21
 
 
To
08/05/1998 01:55:19
Quinn Mayo
Quantified Pty Ltd
Melbourne, Australia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00097929
Message ID:
00097930
Views:
25
Quinn....

When the source is an SQL query, recreating the query when the form is live is not good. Try creating a parameterized view in your database, example:

SELECT * FROM client WHERE name = ?cName

cName = variable holding a name that may change.

Then tie the grid to the view. When you REQUERY the view, refresh the grid. Problem resolved.



>Hi,
>When I use formname.grid1.refresh() after recreating the database using select-sql statements, it turns the grid all white and blank.
>What are we doing wrong????
>
>Please help
>~Quinn
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform