Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parametrized view
Message
 
À
28/10/2004 08:19:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00955225
Message ID:
00955227
Vues:
20
I don't think VFP support BETWEEN ... and ...
Try this:
create view myview as select * from mytable where BETWEEN(date_booked, ?datefirst,?datelast)
>Hi,
>
>I have create a parametrized view in my vfp database, something like:
>create view myview as select * from mytable where date_booked between ?datefirst and ?datelast.
>
>I tried to retrieve the records from this view through OLEDB by using parameter objects with names datefirst and datelast, but the query keeps saying that 'variable datefirst is not found'. Am I doing something wrong or is it just not possible to do this?
>
>Thanks,
>
>Auke
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform