Positioning on a tabular form

TD
TD Member Posts: 15
Hi,

I'm having a bit of a problem with a tabular form.

The form gets the user to enter a number from which a codeunit is then called and processes a XML message. This codeunit then inserts a new record on the table which is the source table of the form. After the codeunit has been processed the newly inserted record should appear on the form.

How can I position on the newly inserted record so the user sees the new record? I assumed I would be able to simply use a GET or FIND but a message appears asking the user if they want to rename the record?? Does anyone know a way around this problem? ](*,)

Any help is much appreciated.

Regards,

TD

Comments

  • kriki
    kriki Member, Moderator Posts: 9,132
    try this:
    GET(primary key fields);
    CurrForm.UPDATE(FALSE);
    
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!