alvechurchdata
Programmer
I want to call the Date function to put today's date in a field:
[tt]Me.txtDate.Value = Date[/tt]
Easy enough except that there's a field named "Date" and this line of code gets that value rather than calling the Date() function. If I type Date() then Access autocorrects it and removes the brackets.
In an ideal world I would change the database structure and revoke the author's programming privileges but neither of these is possible. Is there any way of telling Access to call a function rather than read a field?
Geoff
Geoff Franklin
[tt]Me.txtDate.Value = Date[/tt]
Easy enough except that there's a field named "Date" and this line of code gets that value rather than calling the Date() function. If I type Date() then Access autocorrects it and removes the brackets.
In an ideal world I would change the database structure and revoke the author's programming privileges but neither of these is possible. Is there any way of telling Access to call a function rather than read a field?
Geoff
Geoff Franklin