SourceTableView syntax
mabl4367
Member Posts: 143
I want to have a textfiled in a setuptable and a corresponding textbox on the setup form.
The string will be used as parameter to myRecord.SETVIEW(myView).
I need to know the syntax of the string that SETVIEW takes as a parameter.
Usualy I can create the string by using various assist buttons.
Where can I find a description of this syntax?
The string will be used as parameter to myRecord.SETVIEW(myView).
I need to know the syntax of the string that SETVIEW takes as a parameter.
Usualy I can create the string by using various assist buttons.
Where can I find a description of this syntax?
0
Answers
-
Just create the view on the form. Then copy the value of that property into your new text variable. This way you know the syntax will be correct.0
-
I would like to know the syntax so I can define any table view by entering the correct string into the textbox on my setup form.
This setting is supposed to be used to control how another table is viewed on another form.0 -
The easiest thing to do in this case is to look in F1 help. I don't think there is any formal syntax guide for this type of thing, but you can see how it's done by looking at what GETVIEW returns. Create a test form, set some filters, but a button on the form that shows the results of GETVIEW. Code in the button:
MESSAGE(GETVIEW(TRUE));.
0 -
I could also do some testing by using the assist-button to create some view-strings.
The problem with this methode is that it will requier a lot of work to figure out the complete syntax.0 -
As far as I know there's no 'syntax guide' for this one, so you have to figure it out yourself. GETVIEW returns exactly what you need, it looks pretty straightforward to me. Putting a test form together like that takes what... 2 mnutes? If you think that is "too much work" then good luck with that :-k0
-
You are right.
I didn't hav to create that many strings to figure out the complete syntax
I consider my problem solved!
Thanks for all your input everyone!0 -
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K 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
- 324 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

