Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating view structures
Message
De
17/12/1998 08:37:00
 
 
À
17/12/1998 05:51:52
Marcelo Codino
Mystic & Faith - Sistemas -
Buenos Aires, Argentine
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00168400
Message ID:
00168439
Vues:
25
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
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform