Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid afterrowcolumnchange not changing?
Message
From
08/09/2008 10:51:55
 
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:
01345752
Views:
15
>>>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.
>
>Ok, that's good.
>
>Now, what exactly you're using for your second grid that depends on the ContactID value? Is it a view, CA or a local cursor? If it's a local cursor, you need to do it like this
>
>zap in myLocalCursorForSecondGrid
>insert into myLocalCursorForSecondGrid select * from myTables where ContactID = m.lcContactID
>thisform.mySecondGrid.refresh()
>
>
>That's all.
It is a local cursor, and that is the basic of my code that I posted at the beginning of this thread. settables() does the 1st two lines - I do an append instead of insert -, while the last line of my code does a thisform.refresh() - which should be the same, since the 2 grids are on the same page on the same pageframe in the form.
Previous
Reply
Map
View

Click here to load this message in the networking platform