Navision to Word, Table and Variable Problem

Khristian
Member Posts: 2
Hi.
I am pretty new to NAV and i am struggling with with some problems in NAV.
First i want to update the content of an existing DOCVARIABLE in Word.
I know how to add a new one
Background: A customer wants update a word document, but deleting and creating a new one is not an option,
cause of some user text.
The second problem is that i have to "rebuild" the table in that document. Means that i want to delete every row of Table 1 or 3 or 9 except only the first, so that i dont loose the position of the table. After that i want to insert new rows with new content.
I already know how to insert a row and fill a cell in that table. My idea was to determine the max rows of Table 1 or 3 or 9 and that delete everyone except the first one.
I hope you can understand my really bad school english, sorry for that.
THX for helping.
Greeting from sunny Berlin
Khristian
I am pretty new to NAV and i am struggling with with some problems in NAV.
First i want to update the content of an existing DOCVARIABLE in Word.
I know how to add a new one
Variable := Variables.Add(VariablenName); Variable.Value := 'XXXX'; Name DataType Subtype Length Variable Automation Unknown Automation Server.Variable Variables Automation Unknown Automation Server.VariablesBut i dont know how to update the content of an existing variable.
Background: A customer wants update a word document, but deleting and creating a new one is not an option,
cause of some user text.
The second problem is that i have to "rebuild" the table in that document. Means that i want to delete every row of Table 1 or 3 or 9 except only the first, so that i dont loose the position of the table. After that i want to insert new rows with new content.
I already know how to insert a row and fill a cell in that table. My idea was to determine the max rows of Table 1 or 3 or 9 and that delete everyone except the first one.
I hope you can understand my really bad school english, sorry for that.
THX for helping.
Greeting from sunny Berlin
Khristian
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