Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SCATTER not working properly
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00507233
Message ID:
00507396
Vues:
9
Hi Steve,

If you don't want to use objects, you might try SCATTERing your variables to two different *arrays* rather than memory variables.

HTH.

>Hi Ken,
>
>Thanks for helping me, but you made me realize something.
>
>Now I am in deep DO DO. I DO want to SCATTER to memory variables and not to objects. Of course all memory variables (m.fields) get confused between the two tables when I bounce back and forth between the two forms because the fieldnames are the same in the two tables.
>
>And I SCATTER the first table when the first form Inits and SCATTER the second table when the second form Inits. So they clobber each other with each other's data when I bounce between the two forms. And I am only looking at the data, not adding, not editing.
>
>What I should do to keep the two tables/two forms from getting scrambled/jumbled? I could change the fieldnames in the tables so that they aren't identical, but I was hoping to be able to keep the fieldnames the descriptive names that they are. Hmmmmmm...
>
>I don't do a GATHER until one presses the Save button on a form after they go into Add or Edit mode. I figured the second SCATTER in the second form would replace the memory varibles that were still there from the first SCATTER in the first form. And vice versa, but it doesn't seem to work that way. Am I missing something? Besides brains. LOL. The saga continues.
Evan Pauley, MCP
Positronic Technology Systems LLC
Knoxville, TN

If a vegetarian eats vegetables, what does a humanitarian eat?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform