santastefano
Programmer
I am trying to run either of the following lines.
varBegin = Weekday(Date, Forms!frmCourseStart!StartDate)
varBegin = DatePart(d, Forms!frmCourseStart!StartDate)
varBegin is a declared variable
Forms!frmCourse!StartDate is a user input date on a form which is open when this runs (format dd/mm/yyyy.
Both return the error message invalid procedure call or argument.
I have searched here, the Access 2000 book and MSDN and can not find a solution.
Can anybody please help?
varBegin = Weekday(Date, Forms!frmCourseStart!StartDate)
varBegin = DatePart(d, Forms!frmCourseStart!StartDate)
varBegin is a declared variable
Forms!frmCourse!StartDate is a user input date on a form which is open when this runs (format dd/mm/yyyy.
Both return the error message invalid procedure call or argument.
I have searched here, the Access 2000 book and MSDN and can not find a solution.
Can anybody please help?