Inserting records in a page build from a temp table.

MGoosenMGoosen Member Posts: 12
Hello everyone,

Quick question; Is it possible to insert a record when the page is build from a temporary table? There is now a button to create a new record which is not working and I want to know if it is possible to use this button or that it is better to just remove it.

Answers

  • AlexeyShaminAlexeyShamin Member Posts: 67
    edited 2020-10-15
    Hello!
    If you want insert record in table you need create some code like this:
    newRec.INIT;
    newRec := Rec;
    newRec.INSERT;
    

    Rec - temp record
    newRec - normal record

    In your case Button "New" create new record in temp table
Sign In or Register to comment.