Hi
I have a 2 form set up where I pass on the UniqueCompletionID to the second form.
On the first form I have a SQL event firing to write an insert statement to a Table I have created this writes the UniqueCompletionID to my table. That has an Auto increment procedure attached to it to dish out subscriber numbers.
When this SQL event is completed and the second form is rendered I have the following:
A hidden field that will show the auto increment subscriber number which I will then create an email completion event to the user.
I have the following in my SQL Driven statement on my hidden field:
SELECT SubscriberNumber AS DefaultValue
FROM PRusername
Where UniqueCompletionID = '$(UniqueCompletionID)'
This should work and render the auto increment subscriber number.