Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameterized view Using create SQL view
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00091716
Message ID:
00091719
Views:
19
Try this:

create SQL view result_oneday ;
as select * from Clinic!bridge where bridge.date=?selDate

The ? tells VFP that selDate is a parameter.


>I created a parameterized view Using create SQL view command.
>
>create SQL view result_oneday ;
>as select * from Clinic!bridge where bridge.date=selDate
>
>It works fine If I use it as it originally was.
>I tried like the followings,
>selDate=date()
>use bridge
>brow
>
>But after I opened the view designer to change update Criteria,
>where clause becomes like the followings,
>bridge.date="selDate" and return type mismatch error.
>I tried many time without success.
>I don't know what causes this failure.
>Would you please help me out there?
>
>
>Yong seung Kim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform