Enter text value in text flowfield

mariussw
Member Posts: 52
I have a text flowfield in a table of Method = Lookup, that lookup a description field from another table.
I would like to let a user enter a new value (from the field on a form) and execute code to up date the value of the source field of the other table.
For starters, I get a message "The CalcFormula for the ... FlowField in the ... table should start with 'Sum(...'.
Any ideas on whether it is feasible and how? Which triggers to use and how to avoid the indicated message?
Thanks
I would like to let a user enter a new value (from the field on a form) and execute code to up date the value of the source field of the other table.
For starters, I get a message "The CalcFormula for the ... FlowField in the ... table should start with 'Sum(...'.
Any ideas on whether it is feasible and how? Which triggers to use and how to avoid the indicated message?
Thanks
0
Comments
-
So you want an editable FlowField? Doesn't that kind of defeat the purpose of a FlowField? If you want it to go update the value in the other table you'll need to make it a normal field.0
-
Well, no, you can use a FlowField to enter data in an underlying table when the FlowField is of type Sum (that's actually what the error message is saying).
Standard NAV is using this feature on the Budget window. In the past we had used it on a similar window for hour registration.0 -
As Luc says, standard can only be done with integers and Decimals.
But its easy to emulate.
Create a new text variable and update that with the flow field value, then on validate get the other table and change the value.David Singleton0
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