Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid control
Message
From
21/08/2002 16:38:37
Irv Adams
MSC Managed Care, Inc.
Florida, United States
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Miscellaneous
Thread ID:
00692093
Message ID:
00692209
Views:
27
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
Map
View

Click here to load this message in the networking platform