I'd like to do a simple UPDATE screen, where I read in the values from a record in the database, populate form fields, allow the user to edit them, then write them back to the database with a customized sql update command.
While this is possible, it seems, from Dynamic Forms, it doesn't seem like there's an efficient way to do it.
I understand I can populate each field from SQL individually, but if I have 20 fields on a form, that'd be 20 distinct SQL calls -- too inefficient. I could also populate from session variables or from the querystring, but those too would require an intermediate step and an external process of some sort.
What I'd like to do is have a single SQL statement that drives the entire form, then just call pieces of data out of the SQL cursor.
This might also be considered a "Form Load Event" for Dynamic Forms.
For example: select FirstName, LastName, City, State, Zip from MyTable where id = $(variable)
Now, I'd like an option for each field to populate from the SQL cursor, or even a field where I could type $(firstname) or $SQL(firstname) or something like that.
If I could get this feature, then I could do complete application and workflow processing (insert, update, delete) in a pretty quick and tidy way all using Dynamic Forms!