mortgsteps
Technical User
Is there a simple function or code snippet to convert a date such as 06/01/1999 to 1st of June 1999
and
how can i do the following assuming all variables are declared correctly:
this works fine
set tdf = mydb.tabledefs!orders
debug.print tdf.fields.count
I want to pass the name of the table as a variable i.e.
tablename = "orders"
set tdf = mydb.tabledefs! & tablename
debug.print tdf.fields.count
i get an object error
thanks [sig][/sig]
and
how can i do the following assuming all variables are declared correctly:
this works fine
set tdf = mydb.tabledefs!orders
debug.print tdf.fields.count
I want to pass the name of the table as a variable i.e.
tablename = "orders"
set tdf = mydb.tabledefs! & tablename
debug.print tdf.fields.count
i get an object error
thanks [sig][/sig]