Line No.

sabzamsabzam Member Posts: 1,149
Dear All,

I have been tryhing to discover how do the line no. get created but to no avail. I have replicated the Employees Qualification to relate it to the Contacts but the line no. isn't being created automatically? I have checked up all the coding and there isn't any which is related in some way or another to the line no. Is there a property or something similar?

Comments

  • DatapacDatapac Member Posts: 97
    Have a look at the AutoSplitKey property on a form (e.g. Form 46 Sales Order Subform).
    Hope this helps
  • sabzamsabzam Member Posts: 1,149
    Hi

    That was certainly of a great help. I knew of the existece of the split key but never realised that it was used when created a new record as well (always thought that it is used when created records which are to be placed in between other records).

    Thanks for your help
  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    3 conditions are required to make it work:

    1- AutoSplitKey-property must be "Yes" for the form
    2- The current key must be the primary key
    3- The last field in the primary field must be an integer BigInteger, GUID or decimal field
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
Sign In or Register to comment.