Hi,
I'm building a database for a small business. I have a table tblInvoices with a field InvoiceNumber. Currently this is Short text, because invoices are “numbered” with a combination of letters and numbers – R07-2017 for example. I’m planning on changing that to a format like 20180007, among other things, because I intend to automatically assign invoice numbers. I'll modify the numbering standard for 2018, because I can't make changes within a calendar year.
I’m searching for an optimal way to bring about those changes. It seems unintuitive to just change the numbering and store data that would be Long into Short text field. I can’t change the field type property because I have to store previous invoice numbers.
How does one go about doing that? Would it be better to add a new field to an existing table, to create a separate table, maybe even a relational table? I don’t know if I’m just overcomplicating things. It may be a simple question but I really hit a brick wall with this one.
Thank you for your suggestions,
Alja
I'm building a database for a small business. I have a table tblInvoices with a field InvoiceNumber. Currently this is Short text, because invoices are “numbered” with a combination of letters and numbers – R07-2017 for example. I’m planning on changing that to a format like 20180007, among other things, because I intend to automatically assign invoice numbers. I'll modify the numbering standard for 2018, because I can't make changes within a calendar year.
I’m searching for an optimal way to bring about those changes. It seems unintuitive to just change the numbering and store data that would be Long into Short text field. I can’t change the field type property because I have to store previous invoice numbers.
How does one go about doing that? Would it be better to add a new field to an existing table, to create a separate table, maybe even a relational table? I don’t know if I’m just overcomplicating things. It may be a simple question but I really hit a brick wall with this one.
Thank you for your suggestions,
Alja