Get record in subpage??

mihail_kolev
Member Posts: 379
Hello,
I just noticed that there is quite impossible to get the current record of in subpage. Have somebody faced that problem? I see that the problem is also in standard pages (page 42 - Sales Order for ex.) - when I'm working in classic, dimension table for subform (Line->Dimensions) is opened with filter "Table ID, Document Type, Document No., Line No." but in RTC (Related Information->Dimension) is "Table ID, Document Type, Document No., 0".
Any suggestions?
I just noticed that there is quite impossible to get the current record of in subpage. Have somebody faced that problem? I see that the problem is also in standard pages (page 42 - Sales Order for ex.) - when I'm working in classic, dimension table for subform (Line->Dimensions) is opened with filter "Table ID, Document Type, Document No., Line No." but in RTC (Related Information->Dimension) is "Table ID, Document Type, Document No., 0".
Any suggestions?
-Mihail- [MCTS]
1
Answers
-
mihail_kolev wrote:Hello,
in RTC (Related Information->Dimension) is "Table ID, Document Type, Document No., 0".
Any suggestions?
you have to check this in Line Actions-->Line-->Dimensions0 -
In both cases OnAction there is rec.ShowDimensions. The problem isn't examination of code but getting the current rec in RTC subpage. It's alway set on first record, so the function is called only for it. Realy anoing, huh :-k
Also if you try the CurrPage.SubFormControl.FORM.GETRECORD(myRecord) it doesn't matter which record is selected, it always return the first.-Mihail- [MCTS]0 -
(dog) The only solution i've found is to add the action in the subform's action area. But it looks very uncomfortable for me.-Mihail- [MCTS]0
-
Having the same problems. Is there really no way to make the subform know what record it has selected in RTC?
It seems the Rec in the subform just isn't being updated. I tested this with a MESSAGE and different selections.
I'm not even getting my actions to show on my subform, so even my plan C is not working... ](*,)NAVN00b0 -
Wow that is some workaround. Brummel is sm0rt.
Never used these windows sendkeys before, but if that is a good solution for this setting I guess I'll put this topic to 'solved'.
In my case I redesigned the page so I could show the former subform-info as factboxes instead. That way I could make the page into a list and show it in the rolecenter as well.
But I am sure I will run into this problem again sooner or later, so thanks for the tip!NAVN00b0 -
Oh, this wasn't my topic, so I guess mikhail_kolev should set the topic to solved if he feels it isNAVN00b0
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