Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Loosing grid configuration
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00244242
Message ID:
00244724
Views:
13
Thanks guys:

I does work as Todd Sherman stated doing:
mygrid.recordsource = ''

cI had a mistake closeing the cursor before assinging '' to the rowsource!
the right sequence will be

mygrid.recordsource = ''
use in mycursor
sele * from mytable into cursor mycursor
mygrid.recordsource = 'mycursor'
*--That's it, this keeps all the settings of myGrid!


>Yes, that's what I understood but it's not working, I guess it used to work but I just installed Service Pack 3, there might be some changes in behavor, or either I'm doing something wrong!
>
>>I understand that it will work better if you make mygrid.recordsource = '' and then do your changes, and then make mygrid.recordsource = 'mycursor'
Jorge Flores
From the Amigo Country
Previous
Reply
Map
View

Click here to load this message in the networking platform