Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameterized Views Work Better?
Message
From
31/07/2001 16:42:39
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00537780
Message ID:
00538005
Views:
12
Steve

Parameterised views have accepted date parameters since VFP3.

How were you creating the view? If you use parameterised queries

CREATE SQL VIEW mydateview AS ;
SELECT * from mydatabase!mytable where dMyDate >= ?ldDateParameter

ldDateParameter=DATE()
USE mydatabase!mydateview

It worked fine.

Regards

JR
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform