Results 1 to 4 of 4

Thread: m2m field

  1. #1
    Join Date
    Sep 2013
    Posts
    37

    Unanswered: m2m button input

    Hi i would like to know how tu use a button to set the m2m field without the use of right click


    thanks

    Martin

  2. #2
    Join Date
    Sep 2013
    Posts
    37

    m2m field

    i use some m2m field for work order form:
    1 for name (from a Customer folder)
    1 for adress
    1 for phone
    etc
    but in table view the m2m adress field show the Customer name
    and this appen only for the adress and it's from a text field like phone field

    i deleted it and remake it but did the same
    what can be wrong ??
    Thank you

    Martin

  3. #3
    Join Date
    Apr 2013
    Posts
    226
    Quote Originally Posted by e-Smart View Post
    Hi i would like to know how tu use a button to set the m2m field without the use of right click
    Hi,

    You'd use a script similar to this. In this case I am adding a Customer (from Customer Folder) to an Item that has been bought:

    [$pickcustomer] = Records from Folder("Customers", "One record")
    [$result] = Change relational field value (Item: Customers, [$pickcustomer], Add records to the field)


    Matty

  4. #4
    Join Date
    Sep 2013
    Posts
    37
    thanks alot that's exactly what i need!!
    i already tried something like this but never work.

    do you know why my m2m adress field show the Customer name :
    in forms ok but in table view i only see the Customer name in the adress field ??


    Thanks

    Martin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •