, 21 2015 . 12:12
+
.
frmCustomers, SQL .
...
Set rs = New ADODB.Recordset
With rs
Set .ActiveConnection = cn
.Source = "SELECT * FROM tblCustomers"
.LockType = adLockOptimistic
.CursorType = adOpenKeyset
.Open
End With
Set Me.Recordset = rs
Set rs = Nothing
...
.
frmCustomers frmOrders
tblOrders. IdClient.
- .
: Set Me.Recordset = Forms!Form1.Recordset
.
/ ? .
http://www.sql.ru/forum/1138173/ado-i-podchinennaya-forma