It is currently 21 April 2025, 8:56 Advanced search

Embarassed to ask, but..Combo Box question

Questions and answers on how to best use Instant Developer

Embarassed to ask, but..Combo Box question

Postby john w » 22 August 2024, 16:37

I want to populate a combo box with distinct values from field in a table. I have looked at the documentation but I must be missing something. Can someone point me to a reference on a way to so this?
Regards

John W
User avatar
john w
 
Posts: 834
Joined: 24 October 2012, 16:29
Location: Apple Valley, Minnesota USA

Re: Embarassed to ask, but..Combo Box question

Postby ljwilson » 24 August 2024, 15:11

It is value list query. Right click on the panel field, and select "Add Value List Query".

Then you can create the query with drag and drop. What I often do is if there is only one field you are using then add both fields in the select statement. Be sure and click autolookup for the panel field properties. if you want autolookup when typing. Clicking that is what adds the where clause in my example:

2024-08-24_11-08-16.png
2024-08-24_11-08-16.png (11.1 KiB) Viewed 536 times


...jack
ljwilson
 
Posts: 783
Joined: 26 November 2013, 14:15

Re: Embarassed to ask, but..Combo Box question

Postby john w » 30 August 2024, 18:26

Thanks, I was able to get back to this, and have most of it working. I just need to pass the value to a global variable, and all is right with the world.
Regards

John W
User avatar
john w
 
Posts: 834
Joined: 24 October 2012, 16:29
Location: Apple Valley, Minnesota USA


Return to Tips & Tricks

Who is online

Users browsing this forum: No registered users and 16 guests