hello everybody,
i am trying to edit a datefield propertie into short date format trough VBA but its just not working for me .
this is wat ive come up with so far
DoCmd.RunSQL ("ALTER TABLE tablename ALTER COLUMN fieldname TEXT(255);")
this is a text field propertie change and this works just fine,but now i want to change a date field format into short date but i can't get it to work.
DoCmd.RunSQL ("ALTER TABLE tablename ALTER COLUMN fieldname DATE(Short Date);")
any suggestions?
i am trying to edit a datefield propertie into short date format trough VBA but its just not working for me .
this is wat ive come up with so far
DoCmd.RunSQL ("ALTER TABLE tablename ALTER COLUMN fieldname TEXT(255);")
this is a text field propertie change and this works just fine,but now i want to change a date field format into short date but i can't get it to work.
DoCmd.RunSQL ("ALTER TABLE tablename ALTER COLUMN fieldname DATE(Short Date);")
any suggestions?