Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Search strings
Message
De
10/04/2000 11:36:18
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Search strings
Divers
Thread ID:
00357543
Message ID:
00357543
Vues:
42
I am trying to create a having statement but can't do it. I want to check if a members memdate is between two set dates.

m.sqlstr = "member.memdate >= 04/01/ + alltrim(str((year(date())-1)))) "
m.sqlstr = m.sqlstr + " and member.memdate >= 03/31/ + alltrim(str((year(date())))))"

I keep getting an error that says command contains unrecognized phrase or keyword. What am I doing wrong here? I can't get the syntax correct for sqlstr

Thanks,
Tyler
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform