G
Guest
I have this expression in a text box control on a form:
=IfDirty([Form]) & [Form].[Dirty]
where IfDirty([Form]) activates an OK and Cancel button on the form.
I also have another text box control with only =[Form].[Dirty] inside to
check if the dirty property changes.
This works fine in my own computer but not when distributed with the Runtime
Access 2002. In both cases, I can see that the dirty property changes from 0
to -1 when I change something on the form. But the IfDirty() function is not
run.
I also have a similar problem with a function which I use in the
ValidationRule property in another text box on another form in the same
application. I get the error message '...The function you entered can't be
used in this expression.'
Although both functions are located in the form's own module, it seems that
Access cannot find them.
Thanks
/Lars
=IfDirty([Form]) & [Form].[Dirty]
where IfDirty([Form]) activates an OK and Cancel button on the form.
I also have another text box control with only =[Form].[Dirty] inside to
check if the dirty property changes.
This works fine in my own computer but not when distributed with the Runtime
Access 2002. In both cases, I can see that the dirty property changes from 0
to -1 when I change something on the form. But the IfDirty() function is not
run.
I also have a similar problem with a function which I use in the
ValidationRule property in another text box on another form in the same
application. I get the error message '...The function you entered can't be
used in this expression.'
Although both functions are located in the form's own module, it seems that
Access cannot find them.
Thanks
/Lars