Modifying sub-assembly in main assembly using forms

Modifying sub-assembly in main assembly using forms

doug.johnston
Advocate Advocate
572 Views
2 Replies
Message 1 of 3

Modifying sub-assembly in main assembly using forms

doug.johnston
Advocate
Advocate

Hey all,

 

I am a beginner at illogic, so I don't know how to do this specific task ( I hope I can explain it properly).

 

I have a main assembly that contains several sub-assemblies.  I want to be able to have a form in the main assembly that will open the sub-assembly form when I need to edit the sub-assembly.

 

The attached picture is similar to want I would like.  The user has an the "EDIT" button in the main form that opens the sub-assembly form and then modifies the sub-assembly by changing values / suppression / etc.

 

How is this done ??? 

 

Any assistance would be appreciated.

 

Thanks,

Doug J.


---------------------------------------------------
It's not easy maintaining this level of insanity !!!!!
0 Likes
Accepted solutions (1)
573 Views
2 Replies
Replies (2)
Message 2 of 3

rikard.nilsson
Collaborator
Collaborator
Accepted solution
Hi,

Test this.
In main assembly use iLogicVb.RunRule(“componentName”, “ShowFormRule”)

In subassembly use the snippet ShowForm(“formName”) in a rule called ShowFormRule

/Rikard
Message 3 of 3

doug.johnston
Advocate
Advocate

Works perfect ... thank you !!!


---------------------------------------------------
It's not easy maintaining this level of insanity !!!!!
0 Likes