Information générale
Catégorie:
Codage, syntaxe et commandes
Hi:)
>
>Record Set? Means a whole record? It can be stores in an object usen scatter name. So you can pass just the object.
I mean when using commands that apply to an entire table such as replace all
eg
REPLACE ALL myfield WITH myfunc('apple','orange','pear')
In this example I am expecting an output of a single value but I want to do the processing in the function using an array.
>>I guess I will end up passing the list as a single string and parsing it into an array in the function. That give me the encapsulation I want but next time I use it I will probably send the wrong type of parameter..sigh
>
>But then you have to find out the types of the single item. This is just an other dead.
True but since I expect to be mainly passing field names as my parameter list it will do for now.
eg
myfunc('myfield1,myfield2,myfield3')
>
>>Your use of ALINES is much nicer they must have changed the command between ver 6 and 7
>Yeap, they do. (BTW this is out of Ut the last week or so)
>>
>>
>>Thanks for the tip:)
>
>Ypu are welcome
>
>Agnes
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement