Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default MS Query 'Invalid pseudocolum "$D$5"

I am trying to use a cell in my spread sheet as a parameter in MS Query.
(Select data from table where field = "value in Excel cell".)

Does anyone know the proper syntax to do so. I get an invalid pseudocolumn
error so I am thinking there must be a 'valid' pseudocolum method.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default MS Query 'Invalid pseudocolum "$D$5"

When you create you query in MSQuery, after building the SQL, change the
desired value to ?

Then when you return to Excel, right-click on the query and you the
Parameters option will be available.
Enter info there as required.

NickHK

"Johnslg" wrote in message
...
I am trying to use a cell in my spread sheet as a parameter in MS Query.
(Select data from table where field = "value in Excel cell".)

Does anyone know the proper syntax to do so. I get an invalid

pseudocolumn
error so I am thinking there must be a 'valid' pseudocolum method.

Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default MS Query 'Invalid pseudocolum "$D$5"

I've tried the ? thing and am told that "parameters are not allowed in
queries that are too complex to be graphically displayed". :-(

"NickHK" wrote:

When you create you query in MSQuery, after building the SQL, change the
desired value to ?

Then when you return to Excel, right-click on the query and you the
Parameters option will be available.
Enter info there as required.

NickHK

"Johnslg" wrote in message
...
I am trying to use a cell in my spread sheet as a parameter in MS Query.
(Select data from table where field = "value in Excel cell".)

Does anyone know the proper syntax to do so. I get an invalid

pseudocolumn
error so I am thinking there must be a 'valid' pseudocolum method.

Thanks.




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default MS Query 'Invalid pseudocolum "$D$5"

I guess you have reached the limitations of MSQuery and should changed
something like ADO.

NickHK

"Johnslg" wrote in message
...
I've tried the ? thing and am told that "parameters are not allowed in
queries that are too complex to be graphically displayed". :-(

"NickHK" wrote:

When you create you query in MSQuery, after building the SQL, change the
desired value to ?

Then when you return to Excel, right-click on the query and you the
Parameters option will be available.
Enter info there as required.

NickHK

"Johnslg" wrote in message
...
I am trying to use a cell in my spread sheet as a parameter in MS

Query.
(Select data from table where field = "value in Excel cell".)

Does anyone know the proper syntax to do so. I get an invalid

pseudocolumn
error so I am thinking there must be a 'valid' pseudocolum method.

Thanks.






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I correct Query error "Invalid bracketing of name 'xls.'." Halp0o9i8 Excel Discussion (Misc queries) 0 August 22nd 08 04:52 AM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
Clear Form results in INCORRECT "Invalid Property" message.... B[_4_] Excel Programming 3 April 20th 06 06:24 PM
"Invalid property" after "Clear Form" B[_4_] Excel Programming 1 April 19th 06 04:57 AM
"Invalid Web Query" error on opening a 2003 worksheet Linus Excel Discussion (Misc queries) 0 February 21st 06 04:55 PM


All times are GMT +1. The time now is 09:58 AM.

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

About Us

"It's about Microsoft Excel"