Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing file variables to a function
Message
De
16/04/1999 13:10:35
 
 
À
15/04/1999 18:38:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00208655
Message ID:
00209080
Vues:
24
Hi Henry ----

Try this: Get rid of the table name part of cRecord_field_name by storing it as a separate value, ie, cSource_table, and only storing the field name in cRecord_field_name. Then try this:

SELECT (cSource_table)
SCATTER FIELDS (cRecord_field_name), etc etc....

Failing this, try SCATTER &cRecord_field_name.

I still think that the "." is causing problems.


>
>Thanks for your reply to my question. Unfortunately, when I called SCATTER in the following way:
>
>SCATTER FIELDS (cRecord_field_name), (cFirstname_field_name), ... TO laFieldInfo
>
>where '...' represents the rest of the field names. I got a general syntax error. I set up the values of THIS.record_field_name, THIS.firstname_field_name, etc. by calling the function in my original message. I then declared some LOCAL variables (i.e. cRecord_Field_Name, etc.) and assigned them the values of THIS.record_field_name, etc.
>
>Have I done something else wrong?
>
>Thanks again,
>
>Henry
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform