General information
Category:
Forms & Form designer
Environment versions
Network:
Windows 2008 Server
>>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only