C
Chu Gai
In a form called, frm CCC Follow-ups (Access 2003), there are two
fields, Development & Ticket No. Different Developments can have the
same ticket number. No problem there. Normally, ticket numbers are
unique within a particular Development. However, if the job associated
with the ticket number is completed (closed), it is 'possible' that
the ticket number can be reused. These numbers are generated by an
external department and there is no way to require them to only
generate unique numbers.
So, my question is how can I have a message box pop-up that alerts the
user when a ticket number for a Development has already been used? The
user would then be able to double check their data entry and enter the
duplicate Ticket No with the knowledge that it's not due to an error
on their part. In the past, the Development & Ticket No fields were
indexed to prevent duplicates but right now I've had to remove that
constraint. I assume this might be on an after update event.
fields, Development & Ticket No. Different Developments can have the
same ticket number. No problem there. Normally, ticket numbers are
unique within a particular Development. However, if the job associated
with the ticket number is completed (closed), it is 'possible' that
the ticket number can be reused. These numbers are generated by an
external department and there is no way to require them to only
generate unique numbers.
So, my question is how can I have a message box pop-up that alerts the
user when a ticket number for a Development has already been used? The
user would then be able to double check their data entry and enter the
duplicate Ticket No with the knowledge that it's not due to an error
on their part. In the past, the Development & Ticket No fields were
indexed to prevent duplicates but right now I've had to remove that
constraint. I assume this might be on an after update event.