Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid issue
Message
 
To
18/12/2000 15:36:19
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00454804
Message ID:
00454842
Views:
32
>For test purposes, I have a pageframe with 2 pages. 1st page has a grid with a recordsource from a view. 2nd page has two grids each with its own recordsource from separate tables. All three reference unique tables.
>I have a cmdbutton on page2. When I click this button, I noticed that the selected alias is suddenly the view on page1. Why doesn't the previously selected grid on page2 remain as the current alias? The cmdbutton only has a refresh statement at ths point.

When you look at the forms browser, do you see:
Form1
..PageFrame1
....Page1
....Page2
........CommandButton1
ANd does the click event of the Page 2 button say something like:
Thisform.PageFrame1.Page2.Grid1.Refresh
Check to make sure the button is on page 2
And make sure the 'ancestrial' reference at the click event is pointing to the grid on page 2.
The GRIDS RecordSource should have the name of the table, and the recordsourcetype should be Alias.
Does the table appear in the grid when the form runs?


>
>Thanks,
>Bruce Covey
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform