Good Afternoon All,
I have an interesting use case. In this instance, our client wants to use Forms as more of a front end for SQL. An "Sales Order Browse" form is the starting form. This form has a table with sales order numbers and details pulled from a SQL table. When the user selects a row and clicks a custom button, a 2nd form called "Sales Order Details" is displayed. The value from the "Sales Order" field in the selected row from form 1 is passed to form 2. Form 2 uses this for another SQL lookup and populates a table on that form with details for the sales order number. There is a 3rd form with line item details, but for this question, the first two will suffice.
The problem is, how to I grab the value from the sales order field in the table on the first form and pass it in a URL to the second form? The form isn't submitted, so the dataset variables are all blank at that point. I initially had all 3 forms as part of the single BP, however I couldn't find a way to trigger displaying Form 2 or Form 3 without submitting, assigning and re-opening the business process.
To summarize, I guess this is really 2 questions:
1. Is it possible to capture a value that is typed into a field on a form in BP1 and pass it via URL to a field on a form in BP2 without submitting the form?
2. Is it possible to trigger the display of a form in a BP other than the starting form without submitting the form?
Thanks for your thoughts,
Jason