When declaring constant, you set its value using equals.
But if it is a constant, why not embed value in StrCustomers
as in your post - it should work.
However, if it can vary, use:
Public VarUpdate As Date
VarUpdate = #01/01/2003#
StrCustomers = " SELECT customers.* INTO CustomersTemp...
Access 2000 Help (under topic limit) has full details; there are several subpages of limits.
If you dont have Access 2000, let me know on martinpball@bouncee.demon.co.uk.
Or look on Microsoft web site, I guess this holds info somewhere there.
If you are using Access 2000 or 2002, check out FollowHyperlink in Help, you need to do something like:
Dim strURL As String
'txtUPS is name of form control holding UPS no:
strURL = "http:..." & Me!txtUPS & "...."
Application.FollowHyperlink strURL
I do not know if this is...
I think it would be better for you to make your table permanent and set field to date/time type. Then instead of deleting table before import, clear it using delete query.
The import should then automatically convert values for the field to date/time.
You might also look at import...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.