Value from another table to a form
Comments
-
I already checked. It doesn't change the status. If it was New, it stays New and if it was Certified, it stays Certified. What I wanted was to force it to become Certified.0
-
Try this
IF NOT RecRoutingHeader.FINDFIRST THEN BEGIN RecRoutingHeader."No." := "No. Macho"; RecRoutingHeader.Description := Description; //RecRoutingHeader.Status := RecRoutingHeader.Status::Certified; RecRoutingHeader.INSERT; RecRoutingHeader.Status := RecRoutingHeader.Status::Certified; RecRoutingHeader.MODIFY; END ELSE BEGIN RecRoutingHeader.Status := RecRoutingHeader.Status::Certified; RecRoutingHeader.MODIFY; END;
If not write this code at endRecRoutingHeader.Status := RecRoutingHeader.Status::Certified; RecRoutingHeader.MODIFY;
0 -
Great. It worked with those 2 lines of code at the end. Strange, because those two lines are repeated earlies in the trigger and it wasn't working. Thanks!!
As for my final problem (I think I already wrote about that in this topic), when I press the arrow button down and then back up, the value in my TempoExecução field goes back to 0. It's like the value isn't stored. Do you have any idea why?0 -
Use
TempoExecução := RecRoutingLine."Run Time";
instead ofTempoEx := RecRoutingLine."Run Time";
I think TempoEx is a variable not field..0 -
This one is solved. Thanks!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