Solved

How to add unique values to a Combolist ?

Posted on 1998-08-04
1
128 Views
Last Modified: 2006-11-17
I have a tabel in Access with 5 records which have the field "test". The values for this field are : x,x,y,x,z. I want to make a Combolist in VB that is containing only the different possible values of this table. For this example :x,y & z.
- Does anyone knows the syntax how to make a recordset for this problem ?
- Or is there an other method ?
- Can this be solved easier with a DBCombolist?  
0
Comment
Question by:juul040798
1 Comment
 
LVL 6

Accepted Solution

by:
clifABB earned 200 total points
ID: 1467837
SELECT DISTINCT fieldname FROM tablename
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now