Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compicated SQL
Message
De
27/07/2005 09:23:19
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Compicated SQL
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Divers
Thread ID:
01036178
Message ID:
01036178
Vues:
51
Dear Experts

AC1=1001
mon1="08-2005"
Select month;
from paybook;
where ACCNO=AC1 and ;
month<mon1;
into cursor pastbp
select pastbp

it shows months as

"07-2005"
"01-2006"
"02-2006"
"03-2006"
"04-2006"
"05-2006"

It must only show month="07-2005" because it is less than mon1
While month field in paybook is character type.

Please help to collect exact months

Thanks in advance
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform