Insert new record, update from list

navuser
Member Posts: 4
hello,
I have a problem with new form and list form:
1. I created a new Form1
2. I created another form "Form1 list"
3. I created menu button of Form1 with menu hot key F5 to Run object "Form1 list"
When I double click on the record in "Form1 list" the Form1 does not get updated with the record. How do I make it updated??
Also when I use F3 to insert record into Form1, I use a code that asks user to select two options. On that pop up window there is Cnacel button. When I press it, I'd like to return back to previous record on Form1, not to stay on the new record. If I stay on the new record and click on any field, I create a new record, and I do not want this.
Please someone help!!!
Thanks <img border="0" title="" alt="" src="images/smiles/icon_sad.gif" />
I have a problem with new form and list form:
1. I created a new Form1
2. I created another form "Form1 list"
3. I created menu button of Form1 with menu hot key F5 to Run object "Form1 list"
When I double click on the record in "Form1 list" the Form1 does not get updated with the record. How do I make it updated??
Also when I use F3 to insert record into Form1, I use a code that asks user to select two options. On that pop up window there is Cnacel button. When I press it, I'd like to return back to previous record on Form1, not to stay on the new record. If I stay on the new record and click on any field, I create a new record, and I do not want this.
Please someone help!!!
Thanks <img border="0" title="" alt="" src="images/smiles/icon_sad.gif" />
0
Comments
-
To Answer question A,
- A good example to look at is the customer card and list. It sounds like you are using "RUNOBJECT" where you should be using "LookupTable".
Question B,
I think you have to make xRec the current Rec, but I don't quite understand what you did.
Steve Florko
NCPS,NCSD,NCDS,WSSD,WSWD
Application DevelopmentSteve0 -
1. On the Underlying Table set the Property LookupFormID=Form1 List
2. As Steve said, Use Action "LookupTable" rather than "RunObject Form1 List"
Marcus Fabian
m.fabian@thenet.ch
+41 79 439 78 72With best regards from Switzerland
Marcus Fabian0 -
Use DelayedInsert on the Form1 this will stop a record being Inserted Untill you move the record pointer from the New Record!
>>
Also when I use F3 to insert record into Form1, I use a code that asks user to select two options. On that pop up window there is Cnacel button. When I press it, I'd like to return back to previous record
>>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