Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FILTER Condition
Message
From
02/09/2008 08:32:22
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
FILTER Condition
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01344062
Message ID:
01344062
Views:
54
I get a datatype mismatch on the SET FILTER command. TransDt is a date. I'm sure this isn't the way to do this, so any help appreciated.
THISFORM.FilterCondition = THISFORM.FilterCondition + ' AND BETWEEN(TRANSFORM(TransDt),' + TRANSFORM(THISFORM.TransDtBegin) + ',' + TRANSFORM(THISFORM.TransDtEnd) + ')'
m.FilterCondition = THISFORM.FilterCondition
SET FILTER TO &FilterCondition
Next
Reply
Map
View

Click here to load this message in the networking platform