Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compact closes
Message
De
13/08/1998 07:21:23
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00125767
Message ID:
00126404
Vues:
27
Michelle,

Why don't you just send an array of elements, then you will have only 1 parameter.

Just my $0.02

Rex

>>Michelle,
>>
>>You can also write a udf that takes a list of table names and closes them
>>
>>procedure CloseTables( pcTable1, pcTable2... pcTableN )
>>local i, lcStr
>>for i = 1 to pcount()
>> lcStr = "pcTable" + alltrim( str( i ) )
>> select &lcStr
>> use
>>endfor
>>return
>
>Now there's a cool idea. How do I set it up when I don't know how many paramaters I'll be sending it? I'm guessing that "pcTable2... pcTableN" is just shorthand and not what I actually should use.
>
>Thanks,
>
>-Michelle
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform