Retrieving data from table

HohenzollernHohenzollern 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

Comments

  • ShedmanShedman Member Posts: 194
    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.".
  • HohenzollernHohenzollern Member Posts: 18
    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)
Sign In or Register to comment.