Retrieving data from table

Hohenzollern
Member Posts: 18
Hello to all,
First of all, I'm a newbie) I have some problem, here it is: For example I have a table and a card form, based on that table. Table has some Doc No. Field (key), with records 1,2,3... While I'm looking through those records on my form, I want to retrieve field value of Doc No. by pressing some button, and than transfer that value to another table. I now, how to do that, using SETFILTER or FIND function, but in that case I am able to extract only values of field, I have specified in code (as example - TABLE.SETRANGE("No.",2);) How can I "automate" that process, mooving from field to field on my form? Mb there is something like that, I can find in already made tables?
Thx for any help
First of all, I'm a newbie) I have some problem, here it is: For example I have a table and a card form, based on that table. Table has some Doc No. Field (key), with records 1,2,3... While I'm looking through those records on my form, I want to retrieve field value of Doc No. by pressing some button, and than transfer that value to another table. I now, how to do that, using SETFILTER or FIND function, but in that case I am able to extract only values of field, I have specified in code (as example - TABLE.SETRANGE("No.",2);) How can I "automate" that process, mooving from field to field on my form? Mb there is something like that, I can find in already made tables?
Thx for any help
0
Comments
-
Take a look at the 'Rec' variable on the form. That holds the active record which is displayed on the form, and as such the current "Doc. No.".0
-
Shedman wrote:Take a look at the 'Rec' variable on the form. That holds the active record which is displayed on the form, and as such the current "Doc. No.".
Thats what I need) Thx,best regards)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