M
Mike C
There is a field on one of the tables I have to query that
gives me the date, but it is stored as text (24OCT03). I
want to query the text/date field so that it just gives me
a number instead of the format it is currently in. So I
have set up a table with two fields: ID (text, 2) and Mon
(text, 3). My plan is to grab text from the field and
then look up the value in my table and have it give me the
value I want. Anyway, it's not working and any help would
be appreciated, thanks in advance.
DateNum: DLookUp("ID","tbl_Ref","[Mon] = Mid([DATE],3,3)")
Note: [DATE] refers to the name the field I am grabbing
data from.
gives me the date, but it is stored as text (24OCT03). I
want to query the text/date field so that it just gives me
a number instead of the format it is currently in. So I
have set up a table with two fields: ID (text, 2) and Mon
(text, 3). My plan is to grab text from the field and
then look up the value in my table and have it give me the
value I want. Anyway, it's not working and any help would
be appreciated, thanks in advance.
DateNum: DLookUp("ID","tbl_Ref","[Mon] = Mid([DATE],3,3)")
Note: [DATE] refers to the name the field I am grabbing
data from.