Form B opened from form A, not being closed by form A

Thomas_Hviid_Thorn
Member Posts: 92
Hej
I got a form (B) that I need to
- open from another form (A), which is a piece of cake to bake (sorry couldn't stop myself :oops:)
- and keep open when the other form (A) closes
Sample:
The problem is, that when FORM A is being closed, FORM B will also be closed.
Does anyone know, how I can avoid that? :?:
I got a form (B) that I need to
- open from another form (A), which is a piece of cake to bake (sorry couldn't stop myself :oops:)
- and keep open when the other form (A) closes
Sample:
OBJECT Form 50030 FORM A { OBJECT-PROPERTIES { Date=29-05-12; Time=11:19:58; Modified=Yes; Version List=; } PROPERTIES { Width=5390; Height=2310; } CONTROLS { { 1112800000;CommandButton;1980;550;2200;550;CaptionML=ENU=Open Form B; OnPush=BEGIN FORM.RUN(FORM::"FORM B"); END; } } CODE { BEGIN END. } } OBJECT Form 50031 FORM B { OBJECT-PROPERTIES { Date=29-05-12; Time=11:19:40; Modified=Yes; Version List=; } PROPERTIES { Width=5390; Height=2310; } CONTROLS { } CODE { BEGIN END. } }
The problem is, that when FORM A is being closed, FORM B will also be closed.
Does anyone know, how I can avoid that? :?:
With Kind Regards
Thoms Hviid Thorn
Thoms Hviid Thorn
0
Answers
-
You can use a codeunit to run Form B.Ufuk Asci
Pargesoft0 -
Thanks! That worked nicely!With Kind Regards
Thoms Hviid Thorn0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions