List Button

hairyjimhairyjim Member Posts: 99
edited 2004-12-14 in Navision Attain
Hi all,

I have created a new form that allows a user to navigate through the Tracking Specification table and also a sub form view that lists any items associated to the currently viewed lot no.

What I cannot understand how to do is utilise the 'list button' so a user can see a full list of all the track specification entries?

Could someone please enlighten me.
Give a man a fish and he will eat for a day, teach a man to fish and he will drink beer allday.

Comments

  • SteveOSteveO Member Posts: 164
    The "list button" uses the LookupFormID property of the table. The form ID listed here is the form the system will use when the list button is pressed
    This isn't a signature, I type this at the bottom of every message
  • hairyjimhairyjim Member Posts: 99
    Ahhh - I knew there had to be something somewhere.

    Works a charm

    Cheers
    Give a man a fish and he will eat for a day, teach a man to fish and he will drink beer allday.
  • PaLPiTaTioNPaLPiTaTioN Member Posts: 55
    I used the same solution as described here, but after selecting a record in the lookup form, the other fields on the main form are not updated with the field values that correspond to the selected record. If I try to leave the field that holds the primary key, the form tries to save the new record, but because the primary key already exists, this results in an error: "The record already exists".

    How do I manage to load the selected record to the main form, instead of using the primary key value as key value for a new record?
Sign In or Register to comment.