Matrix page

Belias
Member Posts: 2,998
hi everyone, today i have had to give up on designing a matrix page, can anyone suggest me a simple example?i tried with dimension combinations, but i guess it's not the simplest to begin. I remember some blog posts, but i couldn't find them anymore. Note: i don't want to transform a form, but i want to create the matrix page from scratch.
Thanks in advance to everyone
I got it by myself...the secret are the field triggers!ahah!b*****d matrixes!!! 8)
Thanks in advance to everyone
I got it by myself...the secret are the field triggers!ahah!b*****d matrixes!!! 8)
0
Answers
-
hi everyone, i've got a problem with my matrix: i've done this simple matrix to show the same values both on rows and columns. The logic of the matrix works perfectly but if i click on "next" button, something strange happens:
"untitled" picture is the normal matrix when opening it, the "untitled 2" picture is the same matrix after pressing next some times.
The last columns (thus the values 1020,1021,1022 etc.) does not exists in the database at all, so i don't know where in the hell they are retrieved.
I copied the matrix from the dimension combinations page, if you want i can post the text object.0 -
What's the functionality of the matrix page & its base.Regards,
Manish0 -
it's based on a custom table, the same field for both rows and columns. the functionality is to insert a row or delete a row in another table, but believe me, the functionality is pointless because what i do is just to open the page and click on next dome times. i know that it's hard to say something based on 2 screenshots, but this is an add-on numbering matrix, and even if i post the text obj, you won't be able to use them...
Here's what i call under the next button...RecRef.GETTABLE(MatrixRecord); IF ShowColumnName THEN MATRIX_CaptionFieldNo := 20 ELSE MATRIX_CaptionFieldNo := 10; MatrixMgm.GenerateMatrixData(RecRef,SetWanted,MaximumNoOfCaptions,MATRIX_CaptionFieldNo,PrimaryKeyFirstCaptionInCurrSe, MATRIX_CaptionSet,MATRIX_ColumnSet,MATRIX_CurrSetLength); CLEAR(MatrixRecords); MatrixRecord.SETPOSITION(PrimaryKeyFirstCaptionInCurrSe); CurrentMatrixRecordOrdinal := 1; REPEAT MatrixRecords[CurrentMatrixRecordOrdinal].COPY(MatrixRecord); CurrentMatrixRecordOrdinal := CurrentMatrixRecordOrdinal + 1; UNTIL (CurrentMatrixRecordOrdinal = ARRAYLEN(MatrixRecords)) OR (MatrixRecord.NEXT <> 1); CurrPage.MatrixForm.FORM.Load(MATRIX_CaptionSet,MatrixRecords,ShowColumnName); //THAT IS COPYARRAY(MATRIX_ColumnCaption,MatrixColumns1,1); COPYARRAY(MatrixRecords,MatrixRecords1,1); ShowColumnName := _ShowColumnName;
MatrixMgm variable is standard codeunit "Matrix Management"0 -
[-o< sorry for upping this post (this is the last time, i promise), but i don't really know where to bang my head...if i have to add something to the explanation, just tell me...thank you so much0
-
Well, the problem is """""solved""""" (a lot of double quotes)
i mean that the standard dimension combination page does the same joke...i'll report it to MS asap, and i'll let you know...bye!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