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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

#Num error in linked Sub Form...

Status
Not open for further replies.

Cordury2

Technical User
Jan 22, 2005
55
US
I have a form (frmDates) that is linked to an Excel file that is updated every week. Eventually this will be a sub form that will populate three different dates.

However, when I view the form, it is showing "#Num" instead of the MM/DD/YYYY that is on the Excel file. I have doubled checked the Excel file and there are no times or other characters in it.

Any ideas?

Thanks,
Cord
 
what about the formatting of the cells on the excel file?

--------------------
Procrastinate Now!
 
Crowley,

I should have stated that, my bad. Yes, I have gone into the Excel file and formatted them to MM/DD/YYYY.
 
try converting them to a string on import, and the formatting the string to a date...

--------------------
Procrastinate Now!
 
Is that possible if the table is linked to an Excel file? I just go to File - Get External Data - Link Tables....
 
in that case, probably not...

but if you set the excel file's formatting to string, and validate in the excel file, then maybe that'll sort it...

--------------------
Procrastinate Now!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top