Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SCATTER problem
Message
De
04/11/2007 10:05:23
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01266531
Message ID:
01266541
Vues:
12
Does the variable have no values in the same method where it is SCATTERed, or in some other method? I suggest you put a breakpoint just after you SCATTER, and then see if it has the expected values. Perhaps the values are lost later; in this case, do some debugging to check when exactly that happens.

>I'm having a problem with SCATTER, (it creates the memvars, but doesn't populate them when I issue the command in the INIT of a form). The form is an update for a CONFIG table. The table is opened when the main program is started and remains open until the application is closed. In the INIT of the form I issue the "SCATTER MEMVAR" command. The debugger shows that the memvars are created, but empty. I tested with a small program to open the table, issue the "SCATTER MEMVAR", and it works fine.
>
>I tried "SCATTER NAME oTemp", which created the object with properties for each of the fields in the table, but the object was not visible to the controls on the form that had the control source for that object.
>
>Any suggestions?
>
>Thanks in advance,
>
>Harry
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform