Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating view structures
Message
From
17/12/1998 08:37:00
 
 
To
17/12/1998 05:51:52
Marcelo Codino
Mystic & Faith - Sistemas -
Buenos Aires, Argentina
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00168400
Message ID:
00168439
Views:
19
A question mark before a variable tell VFP that if the variable exist, take the value from it. It it does not exist, it will pop up a form asking the value of this variable. It's called a parametized view.

HTH

>I have this SQL statement.I create it by the View Designer.Now the question is why the View Designer puts automatically quotation marks in the first AND statement ?. I need this field to campare range dates...
>
>
>SELECT Mytable.date, Mytable.descrip, SUM(Mytable.amount), Mytable.quotas,;
>Mytable.amount;
>FROM Mydatabase!Mytable;
>WHERE Mytable.date BETWEEN ?dDateFrom AND ?dDateTo;
>OR (Mytable.plan = .T.;
>AND Mytable.date <= "dDateTo";
>AND ALLT(Mytable.quotas) = "0");
>GROUP BY Mytable.num_oper;
>ORDER BY Mytable.date
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform