G
Guest
I am using the DatePart() function in a macro to set a value. After the user
enters an invoice date into a text box, I want the macro to enter just the
month and year into another field. I would like to use to calculate monthly
budgets. I am using "After Update" to trigger a "Set Value" macro. For the
expression I have entered...
=DatePart("mm,yy",[Invoice Date])
This results in "Invalid Procedure or Call Argument" as shown below.
[Forms]![PO Log]![Month of Invoice Textbox], =DatePart("mm\,yy",[Invoice
Date])
What am I missing?
Ryan
enters an invoice date into a text box, I want the macro to enter just the
month and year into another field. I would like to use to calculate monthly
budgets. I am using "After Update" to trigger a "Set Value" macro. For the
expression I have entered...
=DatePart("mm,yy",[Invoice Date])
This results in "Invalid Procedure or Call Argument" as shown below.
[Forms]![PO Log]![Month of Invoice Textbox], =DatePart("mm\,yy",[Invoice
Date])
What am I missing?
Ryan