G
Gary S
When I run the following code, I get the error message "Run-time error '3061'
Too few parameters. Expected 1." It happens on the open recordset line. Help
please!
Dim Db As Database
Dim Rst As Recordset
Dim SpecInstruct As String
Set Db = CurrentDb
Set Rst = Db.OpenRecordset("qryPackingListCustIdComments")
Rst.MoveFirst
Do While Not Rst.EOF
SpecInstruct = Rst("packlist")
SpecInstruct = SpecInstruct & " , "
Rst.MoveNext
Loop
Me.txtSpecialInstructions = SpecInstruct
Rst.Close
Set Rst = Nothing
Set Db = Nothing
Too few parameters. Expected 1." It happens on the open recordset line. Help
please!
Dim Db As Database
Dim Rst As Recordset
Dim SpecInstruct As String
Set Db = CurrentDb
Set Rst = Db.OpenRecordset("qryPackingListCustIdComments")
Rst.MoveFirst
Do While Not Rst.EOF
SpecInstruct = Rst("packlist")
SpecInstruct = SpecInstruct & " , "
Rst.MoveNext
Loop
Me.txtSpecialInstructions = SpecInstruct
Rst.Close
Set Rst = Nothing
Set Db = Nothing