projecttoday
Programmer
I am getting a syntax error on a call to a subroutine in a module. This subroutine is called Entryloop. The call is in the on click event of the button on a form. The syntax error goes away when I remove the second parameter. (But I need the second parameter.)
This is how I call the subroutine. The call statement itself comes up red:
Dim startingDate As Date
Dim personId As Integer
Entryloop (startingDate, personId)
This is the first statement of the subroutine as it appears in the module modEntryloop:
Public Sub Entryloop(startingDate As Date, personId As Integer)
Anybody know why this is not working?
Is there a way to attach a database here?
Robert
This is how I call the subroutine. The call statement itself comes up red:
Dim startingDate As Date
Dim personId As Integer
Entryloop (startingDate, personId)
This is the first statement of the subroutine as it appears in the module modEntryloop:
Public Sub Entryloop(startingDate As Date, personId As Integer)
Anybody know why this is not working?
Is there a way to attach a database here?
Robert