Accessing ID Field

Discussions about CSEntry
Posts: 301
Joined: December 19th, 2011, 6:26 pm
Location: HAITI

Accessing ID Field

Postby htuser » May 18th, 2016, 12:37 pm

Dear all,
We have three questionnaire with ID 1,2,3, we insert a questionnaire after 1 or 2 this create duplicate ID in a application where the ID is automatically set . It's because i would like to know if there's a way to read ID number from a questionnaire already entered: not the previous who's read by visualvalue(ID), but in this example, the next of this being inserted, maybe 2 or 3.

I think that i could increment the maximum ID already entered, by example, the ID would be 4 whatever where this case is inserted because the maximum ID number already entered is 3, but seekmax or max functions are for multiple occurences, not for case field. I also think to use find function, but it's for external dcf and data. Please help.

Thanks in advance for your precious help,

Return to “Entry”