Guest_imported
New member
- Jan 1, 1970
- 0
Hello
I have a form that uses dao to access two tables and seek a particular record from each.
Set dbMyDBase = CurrentDb
Set rsMyRSet1 = dbMyDBase.OpenRecordset("tblParts"
Set rsMyRSet2 = dbMyDBase.OpenRecordset("tblPartList"
rsMyRSet1.Index = "PrimaryKey"
rsMyRSet1.Seek "=", Me.cboProductID
rsMyRSet2.Index = "PrimaryKey"
rsMyRSet2.Seek "=", Me.tbxPartOrderID, Me.cboProductID
The following code works fine when the tables are within the current DB (not linked) as soon as i split the database i get the following error message: Operation is not supported for this type of object.
Im just wondering why the following code will not work on a linked table. Any suggestions would be greatly appreciated.
I have a form that uses dao to access two tables and seek a particular record from each.
Set dbMyDBase = CurrentDb
Set rsMyRSet1 = dbMyDBase.OpenRecordset("tblParts"
Set rsMyRSet2 = dbMyDBase.OpenRecordset("tblPartList"
rsMyRSet1.Index = "PrimaryKey"
rsMyRSet1.Seek "=", Me.cboProductID
rsMyRSet2.Index = "PrimaryKey"
rsMyRSet2.Seek "=", Me.tbxPartOrderID, Me.cboProductID
The following code works fine when the tables are within the current DB (not linked) as soon as i split the database i get the following error message: Operation is not supported for this type of object.
Im just wondering why the following code will not work on a linked table. Any suggestions would be greatly appreciated.