Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid issue
Message
 
À
18/12/2000 15:36:19
Bruce Covey
Home Depot Television
Atlanta, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00454804
Message ID:
00454842
Vues:
33
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform