Insert new record, update from list

navusernavuser Member Posts: 4
edited 2000-11-22 in Navision Financials
hello,
I have a problem with new form and list form:
1. I created a new Form1
2. I created another form "Form1 list"
3. I created menu button of Form1 with menu hot key F5 to Run object "Form1 list"

When I double click on the record in "Form1 list" the Form1 does not get updated with the record. How do I make it updated??

Also when I use F3 to insert record into Form1, I use a code that asks user to select two options. On that pop up window there is Cnacel button. When I press it, I'd like to return back to previous record on Form1, not to stay on the new record. If I stay on the new record and click on any field, I create a new record, and I do not want this.

Please someone help!!!
Thanks <img border="0" title="" alt="" src="images/smiles/icon_sad.gif" />

Comments

  • SteveSteve Member Posts: 81
    To Answer question A,
    - A good example to look at is the customer card and list. It sounds like you are using "RUNOBJECT" where you should be using "LookupTable".
    Question B,
    I think you have to make xRec the current Rec, but I don't quite understand what you did.



    Steve Florko
    NCPS,NCSD,NCDS,WSSD,WSWD
    Application Development
    Steve
  • mfabianmfabian Member Posts: 187
    1. On the Underlying Table set the Property LookupFormID=Form1 List
    2. As Steve said, Use Action "LookupTable" rather than "RunObject Form1 List"



    Marcus Fabian
    m.fabian@thenet.ch
    +41 79 439 78 72
    With best regards from Switzerland

    Marcus Fabian
  • Dave_CoxDave_Cox Member Posts: 83
    Use DelayedInsert on the Form1 this will stop a record being Inserted Untill you move the record pointer from the New Record!

    >>
    Also when I use F3 to insert record into Form1, I use a code that asks user to select two options. On that pop up window there is Cnacel button. When I press it, I'd like to return back to previous record
    >>
    MindSource (UK) Limited
    Navision Service Partner

    david@mindsource.co.uk
    info@mindsource.co.uk
Sign In or Register to comment.