How to know active form when opening lookup form?

erik_kurniawan
Member Posts: 7
Hi everybody...
When Navision Open Form Sales Order, and open No. Series Form by Textbox behalf Sales Header called
- I have function on Sales Order Form;
IF CurrForm.ACTIVE THEN
EXIT(TRUE)
ELSE
EXIT(FALSE);
Return Value is Boolean.
- When No. Series Form use this function return value is always FALSE.
thanx...
When Navision Open Form Sales Order, and open No. Series Form by Textbox behalf Sales Header called
, How can I know that No. Series Form is opened by Sales Order Form?No.
- I have function on Sales Order Form;
IF CurrForm.ACTIVE THEN
EXIT(TRUE)
ELSE
EXIT(FALSE);
Return Value is Boolean.
- When No. Series Form use this function return value is always FALSE.
thanx...
0
Answers
-
do you need to know the form name by code? Or do you just want to know?
while in a form tools->design will give the form name & #0 -
erik_kurniawan wrote:How can I know that No. Series Form is opened by Sales Order Form?0
-
| do you need to know the form name by code? Or do you just want to know?
| while in a form tools->design will give the form name & #
No, I want to Know that No. Series Form is called by Sales Order Form. Because i want to filter No. Series if it called by Sales Order Form. For any form like Purchase, Transfer, Item Journal, etc will by pass the filter... how can i do that? thanks...0 -
It already does that when you click on the (...) button, run the debugger and step through the code to figure out how it works. In NAV development you never know from where a form is opened, you prepare the form from where you call it.0
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