D
doyle60
I have a database that has been used for about 10 years now. It is
split and has over 50 users who log in and all. It has 600 tables,
including ODBC linked tables to other databases and some that I should
have probably deleted. It has about 1500 queries, many of which are
probably outdated.
Anyway, it has been asked of me to change my main key field for a PO
number from an input mask of "00000?" to "0000000".
I do not believe I hard coded any queries to deal with the first input
mask, which forces the user to enter a 5 digit number plus an optional
letter if they want. I did not create an autonumber for this main
table and the lone key is PO. Perhaps I should have way back when but
it hasn't been a problem until today.
Anyway, how dangerous is it to me to change this key now, a key that
is involved in just about every query and process?
The reason for the request is so the company's main frame number can
be the same as the Access PO number. The main frame uses a number
and, of course, my Access PO uses a Text field.
It would seem dangerous to me to change the field type from a text to
a number field. I'm afraid of type mismatches. So I could leave it
Text but just change the input mask.
Any advise or warnings would be greatly appreciated.
I'm thinking of just creating another field altogether and just bring
this new field in where ever it is needed. But the real link would
have to be filled in some how, either programmatically or by hand and
forgotton.
Thanks,
Matt
split and has over 50 users who log in and all. It has 600 tables,
including ODBC linked tables to other databases and some that I should
have probably deleted. It has about 1500 queries, many of which are
probably outdated.
Anyway, it has been asked of me to change my main key field for a PO
number from an input mask of "00000?" to "0000000".
I do not believe I hard coded any queries to deal with the first input
mask, which forces the user to enter a 5 digit number plus an optional
letter if they want. I did not create an autonumber for this main
table and the lone key is PO. Perhaps I should have way back when but
it hasn't been a problem until today.
Anyway, how dangerous is it to me to change this key now, a key that
is involved in just about every query and process?
The reason for the request is so the company's main frame number can
be the same as the Access PO number. The main frame uses a number
and, of course, my Access PO uses a Text field.
It would seem dangerous to me to change the field type from a text to
a number field. I'm afraid of type mismatches. So I could leave it
Text but just change the input mask.
Any advise or warnings would be greatly appreciated.
I'm thinking of just creating another field altogether and just bring
this new field in where ever it is needed. But the real link would
have to be filled in some how, either programmatically or by hand and
forgotton.
Thanks,
Matt