Sequential ID items
Posted: October 24th, 2013, 9:20 am
I am new to CSPro and working on creating a new database. I am trying to create sequential id items that are automatically generated by CSPro when a new record is added. I have been able to create logic that automatically assigns an id number when the id is added.
The problem occurs when I close and then reopen to continue with data entry. After opening, If I just click on "add case" there are no problems, but if I want to go back and look at previously entered data, I get an error that the new case ids are no longer unique. I think CSPro is attempting to reassign the ID numbers for previously entered cases when I open the file, creating this error. Is it possible to prevent this from happening? Basically, I am trying to write the correct logic to have persistent, automatically generated sequential id items. Is this easily doable?
Thanks so much!
The problem occurs when I close and then reopen to continue with data entry. After opening, If I just click on "add case" there are no problems, but if I want to go back and look at previously entered data, I get an error that the new case ids are no longer unique. I think CSPro is attempting to reassign the ID numbers for previously entered cases when I open the file, creating this error. Is it possible to prevent this from happening? Basically, I am trying to write the correct logic to have persistent, automatically generated sequential id items. Is this easily doable?
Thanks so much!