Options

runobject form

DesmedtSDesmedtS Member Posts: 53
edited 2002-02-07 in Navision Financials
Hello everybody,

I think I have a simple problem.

I have two forms
- form 1 (card form)
- form 2 (tabular form)

On form 1 I have a button :
Which reffers to form2

On form 2 I have a button :
Which reffers to form1

I do this with runobject : form1/form2
and property runformlink : Code=FIELD(Code)

Now the result is that when i go to my overview form and have for example position 4, in the card form the 4th record is shown, which is correct, but it isn't possible to scroll trough the other records.

Does anyone know how to solve this problem ?

Greetzzz Steve

Comments

  • Options
    wonmowonmo Member Posts: 139
    The simplest way for you to scroll through other records would be to just press the "Show All" button. Another more elegant way would be to run the tabular form through code. Set the tabular form as a local variable and on the OnPush() trigger add 2 lines:

    TabularForm.SETRECORD(Rec);
    TabularForm.RUN;

    This shows all the records as a default with the cursor on the record from the card form. Depending on your needs you can also do a RUNMODAL.

    Hope this helps.
Sign In or Register to comment.