I have a pretty weird problem, i'm built an Access 97 application, with a whole bunch of forms, modules, queries etc...
Now, i'm using the function FORMAT (i.e. format(somedatestring, "yy-mmm-dd"
to convert a string onto date format. Its works fine on most of my forms, but there some where it doesn't work at all. I know its not a syntax problem. For example:
Dim SomeDateString As String, TempVar As String
TempVar = Format(SomeDateString, "yy-mmm-dd"
This exact code works on some form, but doesn't on others.
I've declared "Option Compare Database" on top of my code, i dont know if that matters.
I also know "Intelli-Help" the help feature which autmatically comes up with how to use a recognize functions works only on some form , say if you type 'Format(', but other funtions like 'CStr(' works fine...
What could it be??? thanks for any suggestion!
Now, i'm using the function FORMAT (i.e. format(somedatestring, "yy-mmm-dd"
Dim SomeDateString As String, TempVar As String
TempVar = Format(SomeDateString, "yy-mmm-dd"
This exact code works on some form, but doesn't on others.
I've declared "Option Compare Database" on top of my code, i dont know if that matters.
I also know "Intelli-Help" the help feature which autmatically comes up with how to use a recognize functions works only on some form , say if you type 'Format(', but other funtions like 'CStr(' works fine...
What could it be??? thanks for any suggestion!