Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid behavior only works once ???
Message
From
03/01/2005 06:38:13
 
 
To
03/01/2005 02:04:54
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Germany
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
Database:
MySQL
Miscellaneous
Thread ID:
00973249
Message ID:
00973774
Views:
31
I do not understand why this works only once!
Calling form2 from form1 in the same way, filling the searchfield with the same value .... and the grid is reset to default textboxes ?????


How are you populating the grid's RecordSource? Are you using the trick of setting it to an empty string and the filling the cursor using an SQL SELECT? If so, try using what I call a "Safe Select" instead. Put the results of your query into a temporary cursor, ZAP the grid's RecordSOurce, and APPEND the results FROM the remporary cursor into the grid's RecordSource. ZAPping the cursor does not close it.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform