I have a form which contains a few fields two of which hold dates and have the short date format selected.
I then have a function which is called along with one of these dates. working_date_func(start_date_1). The function then does some calculations and returns a value, all pretty simple stuff.
The function works on my machine as it should along with several of the other machines in the office but when tried on other pc's the function takes the date as a time and I get a data type mismatch error. Its really annoying because all formats and types are set out as date and not time and the date brought in from the function comes in as 00:00:00.
Any ideas or has anyone had this error before?
Iam using access 2000 on win 2000 machines.
I then have a function which is called along with one of these dates. working_date_func(start_date_1). The function then does some calculations and returns a value, all pretty simple stuff.
The function works on my machine as it should along with several of the other machines in the office but when tried on other pc's the function takes the date as a time and I get a data type mismatch error. Its really annoying because all formats and types are set out as date and not time and the date brought in from the function comes in as 00:00:00.
Any ideas or has anyone had this error before?
Iam using access 2000 on win 2000 machines.