Onslaughtdave
Programmer
Hey!
I am using the calendar to update the date field with the code i read on this forum:
" if me.dirty = true then
me.dirty = false
end if"
however, that worked fine until i set up referencial integrity! now when i try to update the date field using tha calendar, it crashes on "me.dirty = false". Even if all the fields have valid data in them, the integrity fires saying i need a matching record in table "whatever table name" then the next ... until there aren't anymore tables left.
Is there any way around this? or a better way of updating a field in the table with the calendar? or even another textbox or something so i could dump that value into the table.
btw: the date field is on one form and the calendar is on another form that opens up. They are both connected to the same database field via control source.
thanks for the help!!
dave
I am using the calendar to update the date field with the code i read on this forum:
" if me.dirty = true then
me.dirty = false
end if"
however, that worked fine until i set up referencial integrity! now when i try to update the date field using tha calendar, it crashes on "me.dirty = false". Even if all the fields have valid data in them, the integrity fires saying i need a matching record in table "whatever table name" then the next ... until there aren't anymore tables left.
Is there any way around this? or a better way of updating a field in the table with the calendar? or even another textbox or something so i could dump that value into the table.
btw: the date field is on one form and the calendar is on another form that opens up. They are both connected to the same database field via control source.
thanks for the help!!
dave