G
Guest
Need to scan a recordset and call a procedure each time thru. Error comes up "Expected Function or Variable"
Procedure TEST1 is defined underneath it, and executes properly
What am I missing
Thanks
Mik
Public Sub Test(
Dim rst As Recordse
Dim db As Databas
Set db = OpenDatabase("db5"
Set rst = db.OpenRecordset("COMPOS"
With rs
rst.MoveFirs
Do Until rst.EO
procedure TEST1(![county], ![need]
rst.MoveNex
Loo
End Wit
db.Clos
End Sub
Procedure TEST1 is defined underneath it, and executes properly
What am I missing
Thanks
Mik
Public Sub Test(
Dim rst As Recordse
Dim db As Databas
Set db = OpenDatabase("db5"
Set rst = db.OpenRecordset("COMPOS"
With rs
rst.MoveFirs
Do Until rst.EO
procedure TEST1(![county], ![need]
rst.MoveNex
Loo
End Wit
db.Clos
End Sub