Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date ULONG and DATE

Status
Not open for further replies.

edc000

Programmer
Mar 4, 2011
28
AR
Hi ALL!
I have an app with a table that have a record FECHAINGRESO as ULONG. In a procces i need verify that this FECHAINGRESO it's in a range F1 and F2 declared as DATE
I use:
INSTRING(FECHAINGRESO,FE1,FE2) but Don't work
INSTRING(format(FECHAINGRESO,@D6),FE1,FE2) ¿ Don't work too?
IF FECHAINGRESO>=F1 AND FECHAINGRESO<=F2 AAAhh Don't work!!
AAHHGGG Nothing Works?!! Why??
Eduardo
Regards!


 
Uuuuuuuuuuuuuuffff!

INSTRING(FECHAINGRESO,deformat(FE1),deformat(FE2)) WOKS!!!

Thanks all and sorry for the fail post!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top