Temporary Table in NAV 5.0

tompynationtompynation Member Posts: 398
Can somebody explain me how i can make a form
with as source table a temporary table...

I created a form then created a global variable of my Record
Changed its Temporary property to yes,
and then changed the source table to this temp record

But then i get warning:
'variable' can not be entered in TableNo. Cursor is in front of invalid value

Answers

  • krikikriki Member, Moderator Posts: 9,110
    2 ways (in both ways, the property "SourceTable" must be the real table) :
    1) the classic way : fill up your temptable and do FORM.RUNMODAL(FORM::"The Form",tmpTheTempTable). The form will work on the temptable
    2) the 5.0-way: change the form-property "SourceTableTemporary" to Yes.
    In the OnOpenForm, you can create the records in the temptable by writing them directly in the form-record (rec.)
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • tompynationtompynation Member Posts: 398
    allright, i'll go for second mode...

    But i was having doubts about how i had to insert into the temp table...
Sign In or Register to comment.