Tablebox displaying data from multiple tables

buchhot
Member Posts: 116
Hi there!
May anybody can help me, even if I am not sure if it is possoble in navision.
I want a Tablebox which displays data from multiple tables whith similar structure (Sales Invoice Line and Sales Cr.Memo Line).
Is it possile to dynamically select data and fetch it into an empty tablebox.
Even if I think it is not possible thought gonna ask you, because maybe one expert out there knows a way to do this.
Many thanks in advance.
May anybody can help me, even if I am not sure if it is possoble in navision.
I want a Tablebox which displays data from multiple tables whith similar structure (Sales Invoice Line and Sales Cr.Memo Line).
Is it possile to dynamically select data and fetch it into an empty tablebox.
Even if I think it is not possible thought gonna ask you, because maybe one expert out there knows a way to do this.
Many thanks in advance.
0
Comments
-
Eh, how to explain this in a few lines.
In NAV forms you have the OnFindRecord and the OnNextRecord triggers.
Normaly these functions handle the navigation trhu the tablerecords for you when you press pgup/pgdown etc, and you won't have to change them.
But you can also change the behaviour of these functions for lets say, you want the nextrecord to display information that is not even in the sourcetable of the form.
My sugestion is to look at this functions/triggers. Search the forum for examples, I now there should be at least some, if not a lot.
If you have any questions after that (or results), don't hesisate to ask further.0 -
Mark Brummel wrote:In NAV forms you have the OnFindRecord and the OnNextRecord triggers.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
... and display the data of another table using TransferFields, if you know that similar fields has same fieldno.... But filtering/changing and every database query becomes a "little" difficult.....I don't envy anybody who caught up his aim. I travel gladly.0
-
.. but it's damn hard. Here is an example on how to use these triggers, although for a different purpose:
http://mibuso.com/dlinfo.asp?FileID=515
but it only covers showing records. To be able to modify them... I'd suggest to don't do it. It's extremely hard, if possible. I think you should just use two subforms instead, or show other data (such as customer ledger entries filtered for document type invoice and credit memo) or something like that.0 -
I don't know if you thought of this or if this is the ideal way to go, but if I can make the assumption that the tables you want to display is related in some way: Try flowfields?
I know you then sit with the possibility of a ton of fields but it is something.
Does anybody know if you can add more than one table box to a form, each having a different src table?Kind Regards,
Ewald Venter0
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