Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid afterrowcolumnchange not changing?
Message
From
08/09/2008 10:40:59
 
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:
01345744
Views:
12
<<snip>>
>>>>If I comment out everything, but the 1st two lines, the first grids shows that it is on the other records.
>>>>
>>>>TIA,
>>>>Beth
>>>
>>>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
>
>Remove all your code from ARCC and BRCC methods. Put wait window timeout 1 ccontact.clientid in ARCC and start moving between records. Make sure that the value changes.
>
>If it does, we'll go from there.

the value changes. of course I had to do wait window timeout 1 ccontact.contactid in ARCC, because it is the same clientid, but different contactids in the 1st grid.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform