How can I convert access table data types using macros?

L

Limes

Trying to work out if there is a macro function that will allow me to
automate the process of changing a text data type to hyperlink on opening a
table that has been created from a make table query.
 
S

Steve Schapel

Limes,

I have not done this, so I don't know the details, but you can run a DDL
query using the ALTER TABLE statement. I think you will probably need
to add a new hyperlink field using an ADD COLUMN, then run an Update
Query to copy the data from the text field to the hyperlink field, and
then another DDL query with DROP COLUMN to remove the text field.
Something like that, anyway.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top