General information
Category:
Object Oriented Programming
I've done this successfully before; make sure each Grid has a defined RecordSource in the Property box, SET RELA between Tables is in Form LOAD() and issue a Page.Refresh() after each SKIP command...it should work.
HTH,
-Irv.
>Hi everyone,
>
>I have a problem with a form I created and I can't get it to work.
>It's a simple form that has two pages in a pageframe, the first
>page contains main records and the second page contains child records.
>For example the first page contains the invoice number and
>the second page contains the line items for the specific invoice.
>I'm not using data environments, I simply open the tables at the init
>in the form and establish a relationship between them.
>If I am in the first page and select any invoice record and then go
>to the second page I can see the line items in the grid of the second
>page. I also added two buttons in the second page so that I can move
>forward or backward from invoice to invoice without having to go back
>to the first page. Here is where the problem comes, when I push forward
>or backward the record pointer moves in the invoice file and I have stopped
>the program in the middle and the pointer is moving properly in the child
>table, but the grid on the second page( the one with the line item details
>of the child table) does not change its info ever. And that is even as
>I refresh the page and/or the grid after hitting the forward or backward
>button.
>
>Can anybody suggest anything?
>
>Thanks.
>
>Willy
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