Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filter date
Message
From
17/03/2007 07:56:55
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Filter date
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01204953
Message ID:
01204953
Views:
58
hi all,
i need to filter from mytable all records have value 2007,
myfield character type(c 20) as (January 2007 ),

as
SET FILTER TO dat=SUBSTR("January       2007  ",8)
select * form mytable where dat = SUBSTR("January       2007  ",8)
or
SELECT * FROM newtable WHERE dat=RIGHT("       2005  ",14)
thanks.
Next
Reply
Map
View

Click here to load this message in the networking platform