Hi guys,
I am looking for a way to get the SharePoint ID field to show in a text box in the Infopath form.
In pseudo-code, I am thinking along the lines of:
Submit Button clicked.
Has ID already been assigned?
YES - Save form normally
NO - Submit Form
- Retreive ID field for this form from SharePoint
- Assign value of ID field to a visible field on InfoPath form
- Set flag to indicate ID has been assigned.
- Save form
It has been a long time since i've coded anything, and my terminology may be off. I call it pseudo-code, but I might be wrong.
Regardless, I assume you get what I mean.
Any ideas about this? Any better ways of acheiving it?