Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQLEXEC with Inner Join
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Firebird
Divers
Thread ID:
01234927
Message ID:
01234997
Vues:
12
Hi Borislav,

Yes I had forgotten about it. ha ha ha.. It's been 8 months that Im using Delphi and it makes me forget my good old friend VFP. So easy to forget? :) I shouldn't be.

Anyway, many thanks.

Regards,

>>Another one.. this one works
>>
>>TEXT TO lcSQL NOSHOW PRETEXT 15
>>    Select * from "Pay Batch" WHERE RTRIM(Month)= 'June' AND YEAR = 2007
>>ENDTEXT
>>
>>
>>This one not
>>
>>xMonth = 'June'
>>xYear = 2007
>>TEXT TO lcSQL NOSHOW PRETEXT 15
>>    Select * from "Pay Batch" WHERE RTRIM(Month)= xMonth AND YEAR = xYear
>>ENDTEXT
>>
>
>You must use parameters for this:
>
>xMonth = 'June'
>xYear = 2007
>TEXT TO lcSQL NOSHOW PRETEXT 15
>    Select * from "Pay Batch" WHERE RTRIM(Month)= ?xMonth AND YEAR = ?xYear
>ENDTEXT
>
Jojo R. dela Cuesta, B.Sc.
eConsultant, Programmer
Dalplus Technologies
http://www.dalplus.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform