Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Views parameterized on a date field
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00496115
Message ID:
00496120
Views:
8
>I have a view with a single parameter based upon a date field. My problem is that I would sometimes like to pass a parameter that returns all records. I have tried passing an empty date, but that returns only records which contain and empty date field.
>
>When I have views with a single parameter based upon a character field, I am able to pass an empty string and all records are returned. How do get the same result when I am dealing with a date parameter?
>
>Thanks in advance

How about using Between(DateField, ?BgnDate, ?EndDate) function? When you want just 1 date, make both date parameters the same.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform