Tagged: form instance, reopen.
This topic contains 4 replies, has 0 voices, and was last updated by Anonymous 10 years, 10 months ago.
- AuthorPosts
- March 22, 2010 at 12:17 pm #445
AnonymousHi,
I have one simple form with 2 stages.Form Instance name is set to ’empid’.Form completes its flow and is closed.Its all working fine.Now how can i open that closed form intance in any other form,lets say on ‘Press Button Behaviour’,just to view,depending on that particular ’empid’,if current form is having text input object holding same ’empid’.
thnx
March 22, 2010 at 1:57 pm #5168the stage of the form is not important. Just set up a forms connection and then a connect action on your second form where the ‘send parameter’ is set to the ’empid’ field.
refer here for information on how to integrate with other forms
/Documentation/manual/html/d_connectionsintegration.htm
March 23, 2010 at 9:19 am #5173
AnonymousHi,
I followed your instructions but i couldnt do it.
Let me re-write in steps,
1- Two forms Sample Form 1 and Sample Form 2.
2- Sample Form 1 is fetching data from DB using ‘New Form Connection’ connection and ‘Sample Form Action’action,where ‘EmpId’ is Send Parameters and ‘EmpName’ is Return Parameters.
3- A instance is created and form is in its closed stage.
4- Sample Form 2 is doing the same job.i.e fetching data from DB using same connection and same action.
5- A ‘New Form Connection’ is created and Form: Sample Form 1 is selected.A ‘New Form Action’ is created where send parameter is ‘EmpId’ and return patameter is ‘EmpName’.It is tested and working fine.
Now a button View is created with ‘On Press Button’ behavior.A Connect integration command is used and ‘Connection:New Form Connection and Action:New Form Action’ are used.Again Send parameter is empid from a mask text input object and return parameter is name text input object.
Now what i want is just to open form instance,instance created by Sample Form 1, depending on empid given on Sample Form 2.
Thnx.
Regards,
March 23, 2010 at 10:32 am #5177you want to OPEN sample form 1 from sample form 2 ? is that what you mean ?
if so, then you will need to treat this differently. in your ‘connection’ return as well the form instance ID to a hidden field on your form (see here to ensure you know what this is : /Documentation/manual/html/dont_confuse_instance_id_with_.html and then use that in the ShowForm behaviour action to launch the actual form
PS in future , please consiuder using the support ticket for such things where you can also include screen shots that will help explain what you are trying to do a lot easier
March 23, 2010 at 12:17 pm #5178
Anonymoushi,
done it by using instance id.
thnx
- AuthorPosts
You must be logged in to reply to this topic.