quote:
2. When you are submitting the form, change command of your dataconnection to insert values into DB. Now query the dataconnection.
3. Other things you can try is to write a stored proc to insert values to DB and set this as command to the secondary dataconnection and query the dataconnection.
Sorry but can you explain a bit more about the 'command' of the dataconnection. I tried something but I don't know if it's the same.
I added a new dataconnection and on the wizard, I trashed the generated SQL statement and wrote my own. But all it can do is retrieve custom data. For SQL statements with parameters I don't know how I'll be able to pass them when I query the dataconnection.