filter multiline & display
justeryu
Member Posts: 13
hello guys ,
Can anybody help me with this ?
I have a subform and source table :
field1 field2 field3
A001 0 B01
A001 10000 B01
A001 20000 B02
the primaryKey : [ field1,field2 ]
On mainform,the subform want to display
A001 B01
A001 B02
what should i do to solve this?
Appreciate anyone who can help me!
JY
Can anybody help me with this ?
I have a subform and source table :
field1 field2 field3
A001 0 B01
A001 10000 B01
A001 20000 B02
the primaryKey : [ field1,field2 ]
On mainform,the subform want to display
A001 B01
A001 B02
what should i do to solve this?
Appreciate anyone who can help me!
JY
0
Comments
-
justeryu wrote:
what should i do to solve this?
Solve what? You talk about the subform without any details of the main form. What are you trying to achieve?David Singleton0 -
David Singleton wrote:justeryu wrote:
what should i do to solve this?
Solve what? You talk about the subform without any details of the main form. What are you trying to achieve?
Hello David , thank you so much.
The source table of mainform also have field1.
For example ,the source table of subform like this
PS:(field1,No.1),(field2,Line No.),(field3,No.2)
field1 field2 field3
A001 0 B01
A001 10000 B01
A001 20000 B02
When mainform OnAfterGetRecord(field1,Value=A001),subform would display like this
A001 B01
A001 B02
What i mean to say was lines of subform
field1 field3
A001 B01
A001 B01
Only display a line
field1 field3
A001 B01
BestRegards,
JY0 -
What ... Are ... You ... Trying ... To ... Do ... ???????David Singleton0
-
You mean they want the subform to do an SQL "GROUP BY".justeryu wrote:field1 field3
A001 B01
A001 B01
Only display a line
field1 field3
A001 B01
Errm, shoot the consultant? ](*,)
You can't do that directly in NAV, I suppose the easiest way to fake it would be to use a temp table and run the subform on that.Robert de Bath
TVision Technology Ltd0 -
rdebath wrote:
Errm, shoot the consultant? ](*,)
My guess though is that in this case that would be suicide
David Singleton0
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
- 251 Dynamics CRM
- 103 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
