G
Guest
I have a library mdb that want to link a table to, through code. Upon
completion of the linking action, I want to set the tables hidden attribute.
I was using the transfer database action to do the linking but then realized
that it was not actually putting the link in the library mdb, but in the main
program mdb. When I was using this method, I used
Application.SetHiddenAttribute to hide the table.
I figured out how to create the tabledef in the library mdb, and point it to
the mdb/table that I want to link from. But I have not figured out how to
set the hidden attribute of the table once it is linked. I tried using
tdf.Attribute = XXXXX, where XXXX was a longint value that I got from that
attribute of a table that was actually linked, but that experiment failed
miserably.
Any help would be greatly appreciated.
completion of the linking action, I want to set the tables hidden attribute.
I was using the transfer database action to do the linking but then realized
that it was not actually putting the link in the library mdb, but in the main
program mdb. When I was using this method, I used
Application.SetHiddenAttribute to hide the table.
I figured out how to create the tabledef in the library mdb, and point it to
the mdb/table that I want to link from. But I have not figured out how to
set the hidden attribute of the table once it is linked. I tried using
tdf.Attribute = XXXXX, where XXXX was a longint value that I got from that
attribute of a table that was actually linked, but that experiment failed
miserably.
Any help would be greatly appreciated.