Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Function syntax passing parameters 1

Status
Not open for further replies.

matrixindicator

IS-IT--Management
Sep 6, 2007
418
BE
I need to pass 2 parameters to a function.
When I try to do this I got a syntaxerror.
modNewDb(Me.Text1, Me.Text3)
I get an error: it says I need to use :=

 
If you wish to pass parameters to a function where you do not return any values, you can use the Call statement;

[tt]Call modNewDb(Me.Text1, Me.Text3)[/tt]

Also be sure the name of the function differs from the name of the module.

Roy-Vidar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top