Table Realtions
Dean_Axon
Member Posts: 193
Let me try to explain it ....
In Table 1 I have a table relation to Table 2. The relation is also to the primary key of table 2.
so, if I change the primary key on table 2, what do I need to set to get the value posted in table 1 to change ??
I thought that if there was a table relation to a field, then that value was automatically changed. :oops:
Any ideas ??
In Table 1 I have a table relation to Table 2. The relation is also to the primary key of table 2.
so, if I change the primary key on table 2, what do I need to set to get the value posted in table 1 to change ??
I thought that if there was a table relation to a field, then that value was automatically changed. :oops:
Any ideas ??
Remember: Keep it simple
0
Comments
-
Hi Dean,
do you realy change the primary key on table 2,
or do you change the "primary key"-field on one record of table 2?
br
Josef Metzbr
Josef Metz0 -
do you realy change the primary key on table 2,
or do you change the "primary key"-field on one record of table 2?
I change the primary key field of the record on table 2Remember: Keep it simple0 -
Maybe I can explain it better with an actual example.
Table 32 - Item ledger Entries has a field "Item No.". This has a Table relation to Table 27 - Item.
If I change the "No." on the Item table, then Navision will automatically change the item ledger entries on table 32 to show the new item code.
How do I make sure thatthis happens on fields that I create ??? Does it have to form part of a key or the primary key ?Remember: Keep it simple0 -
Hi Dean,
i think that the table relation in table 1 to table 2 (primary key) is enough.
the field will be changed,
but the primary key of table 2 should consist of one field.
Do you realy rename that primary key field of table 2 in a form?
Rec.MODIFY will do no rename.
br
Josef Metzbr
Josef Metz0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 250 Dynamics CRM
- 102 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions