I have a form that allows users to Add or Edit their records. I have an "Add" button that creates a blank record and a "Replicate" button that replicates all information from the current record, excluding ID.
As my record set increases in size, I have found that I need to have the "ID" field be automatically generated for users (both in new blank and replicated records) because they don't remember the last ID used.
So, is there a way to auto generate the next ID once the ID category is chosen?
Example:
Current record
ID: TC-ACL001
Category: Access Lists Policy - ACL
Replicated record
ID: TC-ACL002 (this would be the auto generated number)
Category: Access Lists Policy - ACL (replicated by code)
New blank record
ID: TC-FW002 (auto-generated because there was only one other test case under Category "FW"
Category: Firewall Policy - FW
Hope this makes sense. I am thoroughly stumped and would appreciate any advice/ideas you may have.
Thank you, in advance.
- Ben
As my record set increases in size, I have found that I need to have the "ID" field be automatically generated for users (both in new blank and replicated records) because they don't remember the last ID used.
So, is there a way to auto generate the next ID once the ID category is chosen?
Example:
Current record
ID: TC-ACL001
Category: Access Lists Policy - ACL
Replicated record
ID: TC-ACL002 (this would be the auto generated number)
Category: Access Lists Policy - ACL (replicated by code)
New blank record
ID: TC-FW002 (auto-generated because there was only one other test case under Category "FW"
Category: Firewall Policy - FW
Hope this makes sense. I am thoroughly stumped and would appreciate any advice/ideas you may have.
Thank you, in advance.
- Ben