N
Nancy
I am relatively new to Access, and definitely feeling my way. My issue is
this: I have an order entry database that I need to send daily output to my
client(s). Customers can order up to 6 diff products, each is in the order
details table (as a sep order detail id). The client needs all order details
in a single row in import into their database (meaning all 6 products). I
have been advised to open recordsets for my tables and loop through the order
details and append records to a temp table.
I have tried to open a recordset, but I keep getting a compile error
("invalid outside procedure") on the SetmyConnection... line.
The following is what I typed to open a recordset:
Dim myConnection As ADODB.Connection
Set myConnection = CurrentProject.Connection
Dim myRecordset As New ADODB.Recordset
myRecordset.ActiveConnection = myConnection
myRecordset.Open "Customers", , adOpenStatic, adLockOptimistic
Any ideas? Is there a tutorial that might help me with this?
Thanks!
this: I have an order entry database that I need to send daily output to my
client(s). Customers can order up to 6 diff products, each is in the order
details table (as a sep order detail id). The client needs all order details
in a single row in import into their database (meaning all 6 products). I
have been advised to open recordsets for my tables and loop through the order
details and append records to a temp table.
I have tried to open a recordset, but I keep getting a compile error
("invalid outside procedure") on the SetmyConnection... line.
The following is what I typed to open a recordset:
Dim myConnection As ADODB.Connection
Set myConnection = CurrentProject.Connection
Dim myRecordset As New ADODB.Recordset
myRecordset.ActiveConnection = myConnection
myRecordset.Open "Customers", , adOpenStatic, adLockOptimistic
Any ideas? Is there a tutorial that might help me with this?
Thanks!