How to Retreive Values

Sankaran_Balasubramonian
Member Posts: 20
Dear Sirs,
I am trying to do the following.
I have two forms
1. GRN Header
2. GRN Line. I have two tables for the corresponding forms.
I have added the form GRN Line in the GRN Header form using the subformlink property.
When I select a GRN Number in the header, I want only the line items for that particular Header. But now all the available Line items in the table are being shown in the subform.
I wrote a small code setting filter. It didnot work.
Please advice.
Thanks in Advance
Balaji
I am trying to do the following.
I have two forms
1. GRN Header
2. GRN Line. I have two tables for the corresponding forms.
I have added the form GRN Line in the GRN Header form using the subformlink property.
When I select a GRN Number in the header, I want only the line items for that particular Header. But now all the available Line items in the table are being shown in the subform.
I wrote a small code setting filter. It didnot work.
Please advice.
Thanks in Advance
Balaji
--
Thanks & Best Regards
Sankaran Balasubramonian
Thanks & Best Regards
Sankaran Balasubramonian
0
Comments
-
Set the SubFormLink on the property sheet of the subform.There are no bugs - only undocumented features.0
-
Hi
Thanks for the reply. It worked.
I have another doubt.
I have made the subform with the following fields
PO No
Item
QTY
RATE
COST
I am gettign an error message when I try to enter the secind line in the form.
The message is as follows
GRN LINE PO NUMBER 'PO00101' ALREADY EXISTS
GRN LINE - My Table
PO NUMBER - A field in the table.
Please advice.
Thanks
Balaji--
Thanks & Best Regards
Sankaran Balasubramonian0 -
What is the primairy key of your line table? This should be some document no. and line no.
In order to activate the line no. you need to activate the autosplitkey property on the subform.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