Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FILTER Condition
Message
De
02/09/2008 16:24:22
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01344062
Message ID:
01344294
Vues:
18
>THISFORM.FilterCondition = THISFORM.FilterCondition +
>' AND BETWEEN(TransDt,{' + TRANSFORM(THISFORM.TransDtBegin) + '},{' + TRANSFORM(THISFORM.TransDtEnd) + '})'
>m.FilterCondition = THISFORM.FilterCondition

It will work if SET STRICTDATE TO 0
If SET STRICTDATE TO 1 or 2 it fails

More precise expression, independendent of this setting
THISFORM.FilterCondition = THISFORM.FilterCondition + ;
' AND BETWEEN(TransDt,{^' + TTOC(THISFORM.TransDtBegin,3) + '},{^' + TTOC(THISFORM.TransDtEnd,3) + '})'
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform