StrataFrame Forum

How can I see maintenance form instead of Browse screen on a button click

http://forum.strataframe.net/Topic25510.aspx

By Jon Reid - 1/8/2010

I have a button on a page which Launches an existing maintenance form. When launched, I want the Data form(maintenance screen with data) to appear instead of the browse screen.



I am not sure if someone asked this question before, but I could not find one. If someone answered this question please leave a link to that Topic



Thanks,



Jon
By Trent L. Taylor - 1/8/2010

Well, I probably need a bit more data. You mention a custom button launching a dialog and browse in the same sentence. So are you using the StrataFrame BrowseDialog and instead of showing a BrowseDialog you want to show a maintenance for you have written but want to show the data in the BO from the dialog you are current on?



If this is the case, then you want to look at the ChildFormDialog control which will translate BOs between controls and dialogs. There are also a number of samples showing this that come with the framework. Also, if you have the chance, download the StrataFlix sample as there are examples show all of the possible scenarios that I have mentioned here as well that should get you going down the right path.
By Les Pinter - 1/8/2010

Hi Jon,

   See my article at http://lespinter.com/FoxToNet/ShowArticle.aspx?ArtNum=411 on how to use the ChidlFormDialog. Launching a maintenance form without automatically displaying a BrowseDialog is no problem; in fact, that's usually how I do it.

Les

By Jon Reid - 1/13/2010

Hello Trent and Les Thanks a lot for your valuable reply they were really helpful. I got it working but will post more on it once I start working further on it.
By Trent L. Taylor - 1/14/2010

Sounds good. Welcome to the forum Smile