DanielGreenwood
Technical User
Hi,
I've got a simple form in MS Access 97 that I use to relink linked tables within my database.
I have a list box that populates the names of all the linked tables in the DB (cboTableName) and a text box that i can enter the new pathway into.
This has been working fine up until today when I get an 'Invalid use of property error'. Its the tbl.Name part that its getting stuck on.
Set tdf.Name = Me.cboTableName
tdf.Connect = ";Database=" & strNewPath
tdf.RefreshLink
Hope you can help as this was a really useful form.
I've got a simple form in MS Access 97 that I use to relink linked tables within my database.
I have a list box that populates the names of all the linked tables in the DB (cboTableName) and a text box that i can enter the new pathway into.
This has been working fine up until today when I get an 'Invalid use of property error'. Its the tbl.Name part that its getting stuck on.
Set tdf.Name = Me.cboTableName
tdf.Connect = ";Database=" & strNewPath
tdf.RefreshLink
Hope you can help as this was a really useful form.