Zum Hauptinhalt gehen

Autocomplete box formatting of display field

Kommentare

1 Kommentar

  • Permanently deleted user

    How about creating a new field in your dataset with your desired format already in place as a concatenation of the two fields, such as "Name (ID)".

    You could then use that as the Display/Query field and Autocomplete would be able to find either the ID or the name. The ease of doing this and keeping it up-to-date may depend on your datasource i.e database/file and dynamic/static.

    If you're using a database and you don't want to or can't modify your existing dataset, you could create a new database view based on that dataset which provides the concatenation field and ID field which you can then use to join the view back onto the original dataset.

     

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.