How to Flow Non Primary Key data to another form?
Mike_HWG
Member Posts: 104
I have two tables:
Table A:
No.
File Name
Table B:
No.
Table A No.
I would like to introduce a new field to Table B called File Name, which flows from Table A.
So, I tried creating the field "Table A"."File Name" and created the following TableRelation:
This compiles fine, but the field shows no data, and a lookup on the File Name field results in an error.
Is there a way to still do this? My only requirement for the field is that it can be searched on or used in a filter.
Table A:
No.
File Name
Table B:
No.
Table A No.
I would like to introduce a new field to Table B called File Name, which flows from Table A.
So, I tried creating the field "Table A"."File Name" and created the following TableRelation:
A."File Name" WHERE ("No."=FIELD("Table A No."))
This compiles fine, but the field shows no data, and a lookup on the File Name field results in an error.
Is there a way to still do this? My only requirement for the field is that it can be searched on or used in a filter.
Michael Hollinger
Systems Analyst
NAV 2009 R2 (6.00.34463)
Systems Analyst
NAV 2009 R2 (6.00.34463)
0
Answers
-
I should mention that the reason I'm trying to do this is that my real-life tables have a complex populating routine. I know I can simply set the field during record creation, but I'm hoping there's an 'easy button' I don't know about
Michael Hollinger
Systems Analyst
NAV 2009 R2 (6.00.34463)0 -
Make it a lookup type flowfield. Set it to non-editable, so your users don't accidentally change data.0
-
Man, I looked right past that about a dozen times! Working great now, thanksMichael Hollinger
Systems Analyst
NAV 2009 R2 (6.00.34463)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
