Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pageframe and Scatter Memvar issue
Message
De
12/07/2010 16:12:33
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01472261
Message ID:
01472265
Vues:
74
Memvars that get scattered to are probably going out of scope.

>Hey Everyone, ** VFP 8 SP1 **
>
>I have added a page to a pageframe for some additional items that we are collecting from the user. This dialog has been around for ever with simple two pages. The first pages has the majority of individual fields each associated to a m.field in the control source, the second tab has a couple children grids and no additional fields.
>
>I added the third tab, which has 10 additional individual fields from the same master table.
>
>The form itself has a save button, where I save the data back into my sql table with either an insert or update. I issue a "scatter memvar blank" or "Scatter Memvar" from the show method based off if the use is in edit mode or insert mode. The problem I'm having is that the individual control are not displaying the values when I change to that page when running the code.
>
>I have put a
>
>thisform.pageframe1.activepage=3
>Thisform.pageframe1.page3.refresh() 
>thisform.pageframe1.activepage=1
>
>
>as the last line in the show, but to no avail.
>
>Thanks for any pointers.
>Kirk
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform