C
colm o'brien
Hi
I have a table called clients these are clients of an insurance brokerage,
the brokerage has no control over the format of the reference applied to each
client. these take the form of the first two letters of surname followed by
first two letters of forename followed by 2 digits.
the first time any combination is used the digits would be 01 the next 02
and so on.
so john doe would be dojo01, joanne doe would be dojo02 etc.
these are stored in table clients with fields F_name, S_name, C_ref.
i want a form which when data is entered will check all the existing records
to see if combination exists and create c_ref automatically
thanks
I have a table called clients these are clients of an insurance brokerage,
the brokerage has no control over the format of the reference applied to each
client. these take the form of the first two letters of surname followed by
first two letters of forename followed by 2 digits.
the first time any combination is used the digits would be 01 the next 02
and so on.
so john doe would be dojo01, joanne doe would be dojo02 etc.
these are stored in table clients with fields F_name, S_name, C_ref.
i want a form which when data is entered will check all the existing records
to see if combination exists and create c_ref automatically
thanks