If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
query question
I am looking to have my query to pull info from a table and not to return any
duplicate values. In my table I have a date column and I want to populate (from this query) a combo on a form with just one listing of each date in table. -- Thank You & God Bless, Jimenda |
#2
|
|||
|
|||
try
SELECT MyTable.MyDateField FROM MyTable GROUP BY MyTable.MyDateField; substitute the correct table and field names, of course. paste the above SQL into the SQL view of your query. if you prefer to work in query design view instead: create a new query. in design view, add the table and put the date field in the query grid. on the toolbar, click the Totals button (it looks like a funny-looking capital E, or a capital M lying on its' side). hth "Jimenda" wrote in message ... I am looking to have my query to pull info from a table and not to return any duplicate values. In my table I have a date column and I want to populate (from this query) a combo on a form with just one listing of each date in table. -- Thank You & God Bless, Jimenda |
#3
|
|||
|
|||
"=?Utf-8?B?SmltZW5kYQ==?=" wrote in
: I want to populate (from this query) a combo on a form with just one listing of each date in table. SELECT DISTINCT MyDate FROM MyTable ORDER BY MyDate Hope that helps Tim F |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Query management question | Dana809904 | Running & Setting Up Queries | 2 | September 28th, 2004 07:18 AM |
Too Few Parameters error Mail Merge Access Parameter Query | Tony_VBACoder | Mailmerge | 3 | September 14th, 2004 12:15 PM |
Sub Query Consolidation, Syntax Question | Quizarate | Running & Setting Up Queries | 5 | September 9th, 2004 10:30 PM |
Taher | Setting Up & Running Reports | 1 | August 31st, 2004 09:07 PM | |
Hidden files in Ms-Query cause ODBC connect errors or Query is wac | needyourhelp | General Discussion | 4 | July 12th, 2004 09:38 PM |