Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Test with sql
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00185305
Message ID:
00185681
Views:
17
>>
>>Not necessarily square one. Notice "provided 'date var' is populated with a valid date." If it's not, that could still be the problem. ?Var doesn't work to provide p-view-like behavior in SQL, only works like macro-substitution if the var is defined, if I'm reading Mr. Miles' post correctly.
>>
>>Cheers,
>
>To clarify my previous post (since Pierre said he populated his var), I'm guessing that since he's got one var with a ? and one without, he filled in the var without the ? and expected to be asked for the value of the other. Is that true, Pierre? Sorry if I made a mistake.
>
>Cheers,

Hi all,

Rich is correct on the first point here. The "?var" essentially works like macro substitution. Note that if var has a valid date value, "var" and "?var" will work exactly the same way when the SQL statement gets processed.

I suspect Rich is also correct on the second point. Pierre will have to elaborate on this one. Thanks Marc for pointing out the "select *.." and column creation rule thing to me. I was sure I had read somewhere that that was not allowed, but I am most likely confused...happens all the time!

Phil
Phil
_____________________________
Phil Miles
http://www.philmiles.com
phil@philmiles.com
Previous
Reply
Map
View

Click here to load this message in the networking platform