J
Jeff K
I'm having a problem with a database I just split. The front-end linked tables are not showing what is actually in the backend database table
I am using a direct ADO connection to the backend to insert records into the backend table. Then when I requery or reset the recordsource for a form to show the new record, the record does not appear. If I wait a few seconds to do the requery, the record will show up
If I do the insert using the CurrentProject.Connection (accessing the linked table instead of the backend table directly) the new record shows up fine, but I want to do it using an existing ADO connection to the backend because the update runs much faster
Is there a refresh I can do on the linked data to make sure it always shows what's in the backend? I tried Currentdb.Tabledefs.Referesh and Currentdb.TableDefs("TableName").RefreshLink but neither helped and I don't think these refresh methods are for refreshing the data anyway
Any ideas
Thanks
Jef
I am using a direct ADO connection to the backend to insert records into the backend table. Then when I requery or reset the recordsource for a form to show the new record, the record does not appear. If I wait a few seconds to do the requery, the record will show up
If I do the insert using the CurrentProject.Connection (accessing the linked table instead of the backend table directly) the new record shows up fine, but I want to do it using an existing ADO connection to the backend because the update runs much faster
Is there a refresh I can do on the linked data to make sure it always shows what's in the backend? I tried Currentdb.Tabledefs.Referesh and Currentdb.TableDefs("TableName").RefreshLink but neither helped and I don't think these refresh methods are for refreshing the data anyway
Any ideas
Thanks
Jef