Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
V6s5 - How to make Parameterized Views return all record
Message
 
À
19/03/2004 08:03:30
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00886996
Message ID:
00887878
Vues:
13
Hi Dorin

Thanks a lot for your help and the code for the same. I am working on implementing it.

>If parameters are numeric, then you can do something like this
>View code:
>
SELECT SPACKINGLISTITEMS.*, ;
>	FROM VSO3!SPACKINGLISTITEMS ;
>	WHERE SPACKINGLISTITEMS.IPID BETWEEN ?VP_IPID_1 AND ?VP_IPID_2
>
>Before USEing the view:
>
>m.vp_ipid_1 = 0
>m.vp_ipid_2 = 2147483647
>
>lnParameter = INPUTBOX('Enter ID value','Parameter value')
>IF !EMPTY(lnParameter)
>    IF TYPE('lnParameter') = 'N'
>        STORE lnParameter to m.vp_ipid_1,m.vp_ipid_2
>    ENDIF
>ENDIF
>
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform