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 » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

I get an error when I try to create a combo box from the wizard



 
 
Thread Tools Display Modes
  #1  
Old September 1st, 2004, 06:38 PM
external usenet poster
 
Posts: n/a
Default I get an error when I try to create a combo box from the wizard

I get an error when I try to create a combo box from the wizard. I am trying
to use a database template of the Address book and wanted to look up a
person by last name ,adn wanted the vlaue to be looked up when the drop down
is released or typed in the combo box. Done that many times. Have installed
service packs 1,2,3 for office 2000. Any ideas.

see below:

Syntax error in query expression'[SELECT[Addressess]].[*FROM[Addresses]
ORDER BY [Addresses]].[LastName]'

can't remeber how I used to that manually, any help would be gretly
appreciated.

Thanks

Mo


  #2  
Old September 1st, 2004, 06:46 PM
Ken Snell [MVP]
external usenet poster
 
Posts: n/a
Default

The SQL statement likely should be this:

SELECT [Addressess].* FROM [Addresses]
ORDER BY [Addresses]].[LastName];


--

Ken Snell
MS ACCESS MVP


wrote in message
...
I get an error when I try to create a combo box from the wizard. I am

trying
to use a database template of the Address book and wanted to look up a
person by last name ,adn wanted the vlaue to be looked up when the drop

down
is released or typed in the combo box. Done that many times. Have

installed
service packs 1,2,3 for office 2000. Any ideas.

see below:

Syntax error in query expression'[SELECT[Addressess]].[*FROM[Addresses]
ORDER BY [Addresses]].[LastName]'

can't remeber how I used to that manually, any help would be gretly
appreciated.

Thanks

Mo




  #3  
Old September 1st, 2004, 07:55 PM
external usenet poster
 
Posts: n/a
Default

Ken;

The code is being generated by the wizard, before I click the finish button
, I get the error described. I may have typed it wrong here.

Thanks

"Ken Snell [MVP]" wrote in message
...
The SQL statement likely should be this:

SELECT [Addressess].* FROM [Addresses]
ORDER BY [Addresses]].[LastName];


--

Ken Snell
MS ACCESS MVP


wrote in message
...
I get an error when I try to create a combo box from the wizard. I am

trying
to use a database template of the Address book and wanted to look up a
person by last name ,adn wanted the vlaue to be looked up when the drop

down
is released or typed in the combo box. Done that many times. Have

installed
service packs 1,2,3 for office 2000. Any ideas.

see below:

Syntax error in query expression'[SELECT[Addressess]].[*FROM[Addresses]
ORDER BY [Addresses]].[LastName]'

can't remeber how I used to that manually, any help would be gretly
appreciated.

Thanks

Mo






  #4  
Old September 1st, 2004, 09:07 PM
Ken Snell [MVP]
external usenet poster
 
Posts: n/a
Default

Open the form in design view, click on the combo box, click on the
Properties window icon (toolbar), click on Data tab, and paste this
expression into the Row Source box (overwrite what you see there already):

SELECT [Addressess].* FROM [Addresses] ORDER BY [Addresses].[LastName];


--

Ken Snell
MS ACCESS MVP

" wrote in
message ...
Ken;

The code is being generated by the wizard, before I click the finish

button
, I get the error described. I may have typed it wrong here.

Thanks

"Ken Snell [MVP]" wrote in message
...
The SQL statement likely should be this:

SELECT [Addressess].* FROM [Addresses]
ORDER BY [Addresses]].[LastName];


--

Ken Snell
MS ACCESS MVP


wrote in message
...
I get an error when I try to create a combo box from the wizard. I am

trying
to use a database template of the Address book and wanted to look up a
person by last name ,adn wanted the vlaue to be looked up when the

drop
down
is released or typed in the combo box. Done that many times. Have

installed
service packs 1,2,3 for office 2000. Any ideas.

see below:

Syntax error in query

expression'[SELECT[Addressess]].[*FROM[Addresses]
ORDER BY [Addresses]].[LastName]'

can't remeber how I used to that manually, any help would be gretly
appreciated.

Thanks

Mo








 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Don't allow select in combo box Sue-Fong Using Forms 7 July 21st, 2004 02:06 PM
Manipulate records of 2 tables Praveen Manne Using Forms 11 June 14th, 2004 02:41 PM
How do you create a list in a Combo or List Box? Bob Phillips Worksheet Functions 1 February 16th, 2004 10:06 PM
How do you create a list in a Combo or List Box? Arthur Worksheet Functions 1 February 16th, 2004 09:32 PM


All times are GMT +1. The time now is 02:47 PM.


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