C/Front and DateFormula

guidorobben
Member Posts: 157
Hi,
I have a problem to write to a DateFormula Field From Excel.
AssignField(QueueT, EntryR, 2, "+3D")
I get the following error:
'+3D' is too big for the internal variable 'DateFormula'
I also tried:
AssignField(QueueT, EntryR, 2, "<+3D>")
If I skip this field, the record gets inserted, so the rest of the process works fine.
Doe anybody know how to solve this problem?
Thanks
I have a problem to write to a DateFormula Field From Excel.
AssignField(QueueT, EntryR, 2, "+3D")
I get the following error:
'+3D' is too big for the internal variable 'DateFormula'
I also tried:
AssignField(QueueT, EntryR, 2, "<+3D>")
If I skip this field, the record gets inserted, so the rest of the process works fine.
Doe anybody know how to solve this problem?
Thanks
0
Comments
-
guidorobben wrote:Hi,
I have a problem to write to a DateFormula Field From Excel.
AssignField(QueueT, EntryR, 2, "+3D")
I get the following error:
'+3D' is too big for the internal variable 'DateFormula'
I also tried:
AssignField(QueueT, EntryR, 2, "<+3D>")
If I skip this field, the record gets inserted, so the rest of the process works fine.
Doe anybody know how to solve this problem?
Thanks
Please try this:
OLD: AssignField(QueueT, EntryR, 2, "<+3D>")
NEW: AssignField(QueueT, EntryR, 2, '+3D')
Let me know!0 -
Didn't work. Excel doesn't like the '
Any more ideas?0 -
Are you trying to write to Excel or read from excel? Can you explain more?Ufuk Asci
Pargesoft0 -
I want to write a value from excel to a Navision-DB0
-
Are you trying to calculate a newdate based on an Excel date field with a date formula expression in Navision?
I have tested reading a date from Excel and use calcdate to generate a new date. I had no problem in the code below:Text001 := '+3D'; IF EVALUATE(VarDate,FORMAT(XlSheet.Range('A' + FORMAT(i)).Value)) THEN NewDate := CALCDATE(Text001,VarDate);
Ufuk Asci
Pargesoft0 -
I'm trying to write a value from excel to the database. I get a C/Front error saying that it cannot handle the value
AssignField(QueueT, EntryR, 2, "+3D")
I get the following error:
'+3D' is too big for the internal variable 'DateFormula'
I want to write +3D to a Navision DatFormula Field using C/Front.0 -
I do not have enough experience in C/Front. I think it must be something related with the syntax. Have you tried using only one ' with your expression. Something like '+3D or "'+3D", " ' " + "+3D" etc. I am only guessing
Or isn't it possible to get data by C/Side?Ufuk Asci
Pargesoft0
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