Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid afterrowcolumnchange not changing?
Message
 
 
To
08/09/2008 11:01:18
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2008 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01345711
Message ID:
01345764
Views:
9
>>BTW, why you're passing form's DataSessionID to the method? I hope you don't do anything with it...
>>
>>>>Hi Beth,
>>>>
>>>>You're doing something too complex here. Why do you need to reset recordsource for the grid? Also you don't have to explicitly call DODEFAULT(), you may comment it out, nothing will change.
>>>
>>>I am resetting the recordsource for the 2nd grid. I put the DODEFAULT() in there because I was trying to get the grid ARCC to set the record pointer to the correct record, so that my contactid would be the correct one and let the other code get the correct records. At the moment, it stays on the first record, so the second grid never really gets changed.
>>>Beth
>
>I pass the form's DataSessionID to the procedure to be sure when in procedure that I am in the correct datasession to work with the cursors. In other words:
>
>set datasession to pnDatasession
>
>is in the settable procedure.

This is very dangerous stuff. Unless you have some code that changes DS in form's lifetime you better not do anything with DS.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform