Hi, all my dear friends. Long time didn't email u for helps. Hope u won't mind answering me once again.
This time around i got a request if this is feasible or not...It happens that I used Access query to change the 6 digit string field to date format by using formula, like this
ShipDate: Cdate(Format(((DateValue("01/01/"+LTrim(Str(1900+Int([SDaddj]/1000))))+[SDaddj]-Int([SDaddj]/1000)*1000))-1,"mm-dd-yy"))
It works well on the field which has been inserted with date value,For example, 103016 (text field) will be 01-16-03(date type) .
But anyhow, for date field which is not yet inserted will remain "0" like below scenario, So, when i run the MS Access 's above query; it gives me this type of misleading date value as below:
Delivery No Invoice No Status ShipDate
0 0 Outstanding 12/31/1999
The shipdate 's supposed to be 0 in place but came out with wrong date value. This scenario happen because shipped date not yet created
So. how can i show the "0" value as it is but not 12/31/1999 which is formulated?
Any idea, pls help out..
Thanks a lot,
This time around i got a request if this is feasible or not...It happens that I used Access query to change the 6 digit string field to date format by using formula, like this
ShipDate: Cdate(Format(((DateValue("01/01/"+LTrim(Str(1900+Int([SDaddj]/1000))))+[SDaddj]-Int([SDaddj]/1000)*1000))-1,"mm-dd-yy"))
It works well on the field which has been inserted with date value,For example, 103016 (text field) will be 01-16-03(date type) .
But anyhow, for date field which is not yet inserted will remain "0" like below scenario, So, when i run the MS Access 's above query; it gives me this type of misleading date value as below:
Delivery No Invoice No Status ShipDate
0 0 Outstanding 12/31/1999
The shipdate 's supposed to be 0 in place but came out with wrong date value. This scenario happen because shipped date not yet created
So. how can i show the "0" value as it is but not 12/31/1999 which is formulated?
Any idea, pls help out..
Thanks a lot,