A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Creating blank line in look-up table



 
 
Thread Tools Display Modes
  #1  
Old August 21st, 2006, 04:08 AM posted to microsoft.public.access.tablesdbdesign
Wendy Simes
external usenet poster
 
Posts: 3
Default Creating blank line in look-up table

I want the first space in my drop-down list to be a blank space, how
do I achieve this. The Drop-down list is in a seperate table.
  #2  
Old August 21st, 2006, 06:39 AM posted to microsoft.public.access.tablesdbdesign
tina
external usenet poster
 
Posts: 1,997
Default Creating blank line in look-up table

if the table has a primary key field that is not seen by the user, plus one
or more fields that show up in the form's combo box droplist, then just add
a record to the table with a primary key value and no data in the other
field(s).

alternately, you could probably use a Union query, for example

SELECT Table1.ID, Table1.someName
FROM Table1
UNION SELECT Null, ""
FROM Table1
ORDER BY Table1.someName;

hth


"Wendy Simes" wrote in message
...
I want the first space in my drop-down list to be a blank space, how
do I achieve this. The Drop-down list is in a seperate table.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:28 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.