Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ParameterList
Message
De
08/02/1999 19:11:02
 
 
À
08/02/1999 16:23:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Divers
Thread ID:
00185087
Message ID:
00185354
Vues:
20
>>Hi Sarosh ----
>>
>>Hmmmm.....I just tested it on a local view and on a remote (SQL Server) view and you are right, it is blank for both VFP5 *and* VFP6.....
>
>Maybe it only works if you register the parameters. On the Query menu pad there's a paramerers something-or-other -- I don't have VFP available.
>
>-Mike

Hi Michael!

You are right. We have to register the parameters. To do this we have to open the View Designer then select the "Query" Menu and then select the "View Parameters..." option and then insert the required parameters.

Do not include "?m.id_customer" as a parameter (without quotes) just "id_customer" (without quotes) if you put the "m." prefix then it truncates everything after the "." period.

The DBGETPROP("v_customer","view","ParameterList") looks at this list and returns a ";" semicolon delimited string if there is more than one parameter.

e.g. return string for one parameter
id_customer,'I'

e.g. return string for two parameters
id_item,'I';id_item_no,'I'

Thanks guys.


Sarosh.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform