I could use a little help with the syntax required to pull this off. I'm am working with Project Requests.
I have an InfoPath form that submits data to a sql database. Upon submit a unique id is generated in the SQL table which serves as my Project Request ID. The ID field isn't in my web service.
Then I want to query that table for whatever key was just created for that record.
The next submit step is to send it to sharepoint.
I would like the infopath form file name submitted to sharepoint to be Project Request ID # ......key. That way the forms always have unique names. Am I on the right track?