L
LDMueller
Good morning,
I have Access 2003. I have a problem which I'm going to simplify in order
to explain it. I have three forms named frmNewTickets, frmOpenTickets, and
frmAllTickets.
All forms use the same tables, but the Record Source for each use different
Queries because they filter different information. All of these forms have
the same buttons which pointed to two other forms. One being frmUpdateTicket
and frmReassignTicket.
My problem is when doing it this way, I get a "Write Conflict" popup which
states "This record has been changed by another user since you started
editing it. If you save the record, you will overwrite the changes the other
user made. Copying the changes to the clipboard will let yo look at the
values the other user entered, and then paste your changes back in if you
decide to make changes. I then have to choose from three buttons, Save
Record, Copy to Clipboard, or Drop Changes.
Many times, I'm the only person in the database. What I've done to work
around this is I made a duplicate copies of the form and renaming them as
follows:
The Form frmOpenTickets has a Command Buttons named "Update" which points to
frmUpdateTicket and another Command Button named "Reassign" which points to
frmReassignTicket.
The Form frmAllTickets has a Command Buttons named "Update" which point to
frmUpdateTicket1 and another Command Button named "Reassign" which points to
frmReassignTicket1.
This way no form will use the same form (if that makes sense).
I have also tried adding the following ...
If Me.Dirty then Me.Dirty=False 'then your code to open other forms.
behind my buttons that open subsequent forms. This works some of the time,
but not all of the time.
This is a simplified explanation of what I'm doing, however I have multiple
forms with multiple buttons and having to copy and maintain duplicate forms
with different names seems like a lot of work and I'm hoping there is a
better way to handle this.
Any insight would be greatly appreciated. And I'd really like to know if it
is okay to have several form with command buttons which point to the same
form or if this is improper design.
Thanks!
I have Access 2003. I have a problem which I'm going to simplify in order
to explain it. I have three forms named frmNewTickets, frmOpenTickets, and
frmAllTickets.
All forms use the same tables, but the Record Source for each use different
Queries because they filter different information. All of these forms have
the same buttons which pointed to two other forms. One being frmUpdateTicket
and frmReassignTicket.
My problem is when doing it this way, I get a "Write Conflict" popup which
states "This record has been changed by another user since you started
editing it. If you save the record, you will overwrite the changes the other
user made. Copying the changes to the clipboard will let yo look at the
values the other user entered, and then paste your changes back in if you
decide to make changes. I then have to choose from three buttons, Save
Record, Copy to Clipboard, or Drop Changes.
Many times, I'm the only person in the database. What I've done to work
around this is I made a duplicate copies of the form and renaming them as
follows:
The Form frmOpenTickets has a Command Buttons named "Update" which points to
frmUpdateTicket and another Command Button named "Reassign" which points to
frmReassignTicket.
The Form frmAllTickets has a Command Buttons named "Update" which point to
frmUpdateTicket1 and another Command Button named "Reassign" which points to
frmReassignTicket1.
This way no form will use the same form (if that makes sense).
I have also tried adding the following ...
If Me.Dirty then Me.Dirty=False 'then your code to open other forms.
behind my buttons that open subsequent forms. This works some of the time,
but not all of the time.
This is a simplified explanation of what I'm doing, however I have multiple
forms with multiple buttons and having to copy and maintain duplicate forms
with different names seems like a lot of work and I'm hoping there is a
better way to handle this.
Any insight would be greatly appreciated. And I'd really like to know if it
is okay to have several form with command buttons which point to the same
form or if this is improper design.
Thanks!