Starting Form from Subform Faulty

emkpro
Member Posts: 47
I have a form with a subform
Form Customer Card
Subform Contact List
I call correct contacts from subform properties using SubFormLink
but when I start Contact card using my contact list using the subform link
Field("No.","No.") it doesn't start selected contact from the card
Is there any suggestions concernin this
Form Customer Card
Subform Contact List
I call correct contacts from subform properties using SubFormLink
but when I start Contact card using my contact list using the subform link
Field("No.","No.") it doesn't start selected contact from the card
Is there any suggestions concernin this
//EMK\\
0
Comments
-
but when I start Contact card using my contact list using the subform link
Field("No.","No.") it doesn't start selected contact from the card
Where do you call that "contact list" from? If it is from the customer form, then you try to get a contact that has a No.=Customer."No.".
You should build a function i.e. "Open" that opens a Contact Card inside the subform and call it like:CurrForm.SubForm.FORM.Open;
from the Customer card.
Don;t forget to rename your subform object to something like Subform to be able to see it in the Controls property of your customer form.0 -
Where do you call that "contact list" from? If it is from the customer form, then you try to get a contact that has a No.=Customer."No.".
"Contacts List" is the name of the form which I call using a subform by "Customer Form"
I added a button to the "Contacts List" form which open "Contact Card" form If I start "Contacts List" form directly the button works without problems but when i do the same in "Contacts List" form as subform of my "Customer Card" form it doesn't work correctly.
I will try using the code then. Having two different ways of doing samething can be sometimes confusing th :oops: ugh//EMK\\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