Hi kavehm
Just an addition to Brian post.
A.)
If AN8 is the first DSTR member in your Form Interconnect, then on the Button Clicked event of Select simpy assign
FI Addres Number = GC Addres Number (Fxxxyy)
B.)
There is an other way to play flexible with Visual Assist. Briefly:
- if the DD item behind the control has no Visual Assist originally, then on the control Properties > Overrieds override the Visual Assist with any form (e.g. with yours)
- place your logic to the Visual Assist Button Clicked event of the Control
- first issue a "Suppress Default Visual Assist Form" System Function call (General category)
- call your S&S or any other type of form via Form Interconnect
- advancing the logic in this event and in the called Form, you can do almost everything
Some advanteges:
- you can pass input parameters to the called form in FI DSTR, e.g. for pre-filtering purpose
- you can get back more then one value from the called form
- you can add any special logic dealing with Visual Assit call
- based on e.g. some values, you can call different forms
I did it many times. Just a hint:
- add a 'cSelectReturned' FI DSTR member to the called form
- map variables to FI DSTR when you call the form instead directly FC
- assign the values to FCs only, if cSelectReturned is eual to '1'
- of course, you can deal with FI cSelectReturned member in your called form
Hope, maybe this will be useful for you in the future.
Regards,
Zoltán