Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting Crystal to return last six months
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00993658
Message ID:
00993720
Vues:
14
>Where shipdt >= dateadd(m,-6,currdate) gives me a date overflow error.

Jim,

I don't know if this is the problem, but..

The Crystal documentation states the DateAdd() returns a DateTime value. You need to convert that result into a Date value by wrapping the DateAdd() inside a CDate() to compare the result to another date.

Laterness,
Jon
Jon Rosenbaum
Devcon Drummer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform