Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MONTH(DATE())
Message
From
04/09/1997 12:39:56
 
 
To
04/09/1997 11:12:54
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00048509
Message ID:
00048534
Views:
23
>I tried to create a report that would extact all the MONTH(DATE()) from a 'date field'(filter)but it gives me an error "operator/operant type mistmach" . Can anybody tell me what I'm doing wrong? if this is incorrect way to extract all the records from the current month, then what is the right way?
>thanks.

I'm betting that your date is a character field, not a date. Try MONTH(CTOD(date field))
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Previous
Reply
Map
View

Click here to load this message in the networking platform