Accessing ID Field

Discussions about CSEntry
Forum rules
New release: CSPro 8.0
Post Reply
htuser
Posts: 631
Joined: December 19th, 2011, 6:26 pm
Location: Silver Spring Area, MD, USA

Accessing ID Field

Post by htuser »

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,
G.VOLNY, a CSProuser from Haiti, since 2004
Post Reply