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 » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

"invalid bracketing of name" when referencing Query Parameter



 
 
Thread Tools Display Modes
  #1  
Old October 25th, 2004, 03:27 PM
GreggLund
external usenet poster
 
Posts: n/a
Default "invalid bracketing of name" when referencing Query Parameter

In Access2003 I have a query that uses the start and stop date that it gets
from a form. In the query I have entered the fields in the Query Preference.

Form - "frmSelector"
start date field - [forms]![frmSelector]![txtStartDate]
stop date field - [forms]![frmSelector]![txtStopDate]

when I run the query I get a messagea message "invalid bracketing of name
"[forms!frm_Selector!txtStartDate]"". But what I entered into
Queries-Parameters was forms!frm_Selector!txtStartDate. When you save the
query it adds the brackets. If I enter
[forms]![frm_Selector]![txtStartDate]...I get
"[[forms]![frm_Selector]![txtStartDate]]"

Any suggestions?
  #2  
Old October 25th, 2004, 03:34 PM
Duane Hookom
external usenet poster
 
Posts: n/a
Default

Fix it, save it, and hope it doesn't happen again. I'm not sure why it
happens but it is a bug.

--
Duane Hookom
MS Access MVP
--

"GreggLund" wrote in message
...
In Access2003 I have a query that uses the start and stop date that it
gets
from a form. In the query I have entered the fields in the Query
Preference.

Form - "frmSelector"
start date field - [forms]![frmSelector]![txtStartDate]
stop date field - [forms]![frmSelector]![txtStopDate]

when I run the query I get a messagea message "invalid bracketing of name
"[forms!frm_Selector!txtStartDate]"". But what I entered into
Queries-Parameters was forms!frm_Selector!txtStartDate. When you save the
query it adds the brackets. If I enter
[forms]![frm_Selector]![txtStartDate]...I get
"[[forms]![frm_Selector]![txtStartDate]]"

Any suggestions?



  #3  
Old October 25th, 2004, 03:43 PM
gregglund
external usenet poster
 
Posts: n/a
Default

Any suggestions for work around? I get this same problem not matter what I
put into the Query-Parameter Dialog.

gregg

"Duane Hookom" wrote:

Fix it, save it, and hope it doesn't happen again. I'm not sure why it
happens but it is a bug.

--
Duane Hookom
MS Access MVP
--

"GreggLund" wrote in message
...
In Access2003 I have a query that uses the start and stop date that it
gets
from a form. In the query I have entered the fields in the Query
Preference.

Form - "frmSelector"
start date field - [forms]![frmSelector]![txtStartDate]
stop date field - [forms]![frmSelector]![txtStopDate]

when I run the query I get a messagea message "invalid bracketing of name
"[forms!frm_Selector!txtStartDate]"". But what I entered into
Queries-Parameters was forms!frm_Selector!txtStartDate. When you save the
query it adds the brackets. If I enter
[forms]![frm_Selector]![txtStartDate]...I get
"[[forms]![frm_Selector]![txtStartDate]]"

Any suggestions?




  #4  
Old October 25th, 2004, 05:38 PM
Duane Hookom
external usenet poster
 
Posts: n/a
Default

Did you view the SQL view and change it there?

--
Duane Hookom
MS Access MVP
--

"gregglund" wrote in message
...
Any suggestions for work around? I get this same problem not matter what I
put into the Query-Parameter Dialog.

gregg

"Duane Hookom" wrote:

Fix it, save it, and hope it doesn't happen again. I'm not sure why it
happens but it is a bug.

--
Duane Hookom
MS Access MVP
--

"GreggLund" wrote in message
...
In Access2003 I have a query that uses the start and stop date that it
gets
from a form. In the query I have entered the fields in the Query
Preference.

Form - "frmSelector"
start date field - [forms]![frmSelector]![txtStartDate]
stop date field - [forms]![frmSelector]![txtStopDate]

when I run the query I get a messagea message "invalid bracketing of
name
"[forms!frm_Selector!txtStartDate]"". But what I entered into
Queries-Parameters was forms!frm_Selector!txtStartDate. When you save
the
query it adds the brackets. If I enter
[forms]![frm_Selector]![txtStartDate]...I get
"[[forms]![frm_Selector]![txtStartDate]]"

Any suggestions?






  #5  
Old October 25th, 2004, 06:05 PM
gregglund
external usenet poster
 
Posts: n/a
Default

I saw an aswer you put for another questions and then went into SQL view and
edited it there...and it works. THANKS

gregg
"Duane Hookom" wrote:

Did you view the SQL view and change it there?

--
Duane Hookom
MS Access MVP
--

"gregglund" wrote in message
...
Any suggestions for work around? I get this same problem not matter what I
put into the Query-Parameter Dialog.

gregg

"Duane Hookom" wrote:

Fix it, save it, and hope it doesn't happen again. I'm not sure why it
happens but it is a bug.

--
Duane Hookom
MS Access MVP
--

"GreggLund" wrote in message
...
In Access2003 I have a query that uses the start and stop date that it
gets
from a form. In the query I have entered the fields in the Query
Preference.

Form - "frmSelector"
start date field - [forms]![frmSelector]![txtStartDate]
stop date field - [forms]![frmSelector]![txtStopDate]

when I run the query I get a messagea message "invalid bracketing of
name
"[forms!frm_Selector!txtStartDate]"". But what I entered into
Queries-Parameters was forms!frm_Selector!txtStartDate. When you save
the
query it adds the brackets. If I enter
[forms]![frm_Selector]![txtStartDate]...I get
"[[forms]![frm_Selector]![txtStartDate]]"

Any suggestions?






  #6  
Old November 30th, 2006, 10:38 PM posted to microsoft.public.access.queries
jlorick
external usenet poster
 
Posts: 4
Default "invalid bracketing of name" when referencing Query Parameter

Thank you! It worked for me too!!

"Duane Hookom" wrote:

Did you view the SQL view and change it there?

--
Duane Hookom
MS Access MVP
--

"gregglund" wrote in message
...
Any suggestions for work around? I get this same problem not matter what I
put into the Query-Parameter Dialog.

gregg

"Duane Hookom" wrote:

Fix it, save it, and hope it doesn't happen again. I'm not sure why it
happens but it is a bug.

--
Duane Hookom
MS Access MVP
--

"GreggLund" wrote in message
...
In Access2003 I have a query that uses the start and stop date that it
gets
from a form. In the query I have entered the fields in the Query
Preference.

Form - "frmSelector"
start date field - [forms]![frmSelector]![txtStartDate]
stop date field - [forms]![frmSelector]![txtStopDate]

when I run the query I get a messagea message "invalid bracketing of
name
"[forms!frm_Selector!txtStartDate]"". But what I entered into
Queries-Parameters was forms!frm_Selector!txtStartDate. When you save
the
query it adds the brackets. If I enter
[forms]![frm_Selector]![txtStartDate]...I get
"[[forms]![frm_Selector]![txtStartDate]]"

Any suggestions?






  #7  
Old August 23rd, 2007, 11:12 AM posted to microsoft.public.access.queries
scubadiver
external usenet poster
 
Posts: 1,673
Default "invalid bracketing of name" when referencing Query Parameter


I have looked at my SQL and changed the bracketing but now it says there is
a syntax error in the parameter clause:

PARAMETERS =[forms]![reports form]![DateFrom] And =[forms]![reports
form]![DateTo] DateTime;


"Duane Hookom" wrote:

Did you view the SQL view and change it there?

--
Duane Hookom
MS Access MVP
--

"gregglund" wrote in message
...
Any suggestions for work around? I get this same problem not matter what I
put into the Query-Parameter Dialog.

gregg

"Duane Hookom" wrote:

Fix it, save it, and hope it doesn't happen again. I'm not sure why it
happens but it is a bug.

--
Duane Hookom
MS Access MVP
--

"GreggLund" wrote in message
...
In Access2003 I have a query that uses the start and stop date that it
gets
from a form. In the query I have entered the fields in the Query
Preference.

Form - "frmSelector"
start date field - [forms]![frmSelector]![txtStartDate]
stop date field - [forms]![frmSelector]![txtStopDate]

when I run the query I get a messagea message "invalid bracketing of
name
"[forms!frm_Selector!txtStartDate]"". But what I entered into
Queries-Parameters was forms!frm_Selector!txtStartDate. When you save
the
query it adds the brackets. If I enter
[forms]![frm_Selector]![txtStartDate]...I get
"[[forms]![frm_Selector]![txtStartDate]]"

Any suggestions?






  #8  
Old August 23rd, 2007, 12:35 PM posted to microsoft.public.access.queries
Jeff Boyce
external usenet poster
 
Posts: 1,555
Default "invalid bracketing of name" when referencing Query Parameter

why post twice?

--
Regards

Jeff Boyce
www.InformationFutures.net

Microsoft Office/Access MVP
http://mvp.support.microsoft.com/

Microsoft IT Academy Program Mentor
http://microsoftitacademy.com/

"scubadiver" wrote in message
...

I have looked at my SQL and changed the bracketing but now it says there

is
a syntax error in the parameter clause:

PARAMETERS =[forms]![reports form]![DateFrom] And =[forms]![reports
form]![DateTo] DateTime;


"Duane Hookom" wrote:

Did you view the SQL view and change it there?

--
Duane Hookom
MS Access MVP
--

"gregglund" wrote in message
...
Any suggestions for work around? I get this same problem not matter

what I
put into the Query-Parameter Dialog.

gregg

"Duane Hookom" wrote:

Fix it, save it, and hope it doesn't happen again. I'm not sure why

it
happens but it is a bug.

--
Duane Hookom
MS Access MVP
--

"GreggLund" wrote in message
...
In Access2003 I have a query that uses the start and stop date that

it
gets
from a form. In the query I have entered the fields in the Query
Preference.

Form - "frmSelector"
start date field - [forms]![frmSelector]![txtStartDate]
stop date field - [forms]![frmSelector]![txtStopDate]

when I run the query I get a messagea message "invalid bracketing

of
name
"[forms!frm_Selector!txtStartDate]"". But what I entered into
Queries-Parameters was forms!frm_Selector!txtStartDate. When you

save
the
query it adds the brackets. If I enter
[forms]![frm_Selector]![txtStartDate]...I get
"[[forms]![frm_Selector]![txtStartDate]]"

Any suggestions?







  #9  
Old August 23rd, 2007, 12:42 PM posted to microsoft.public.access.queries
scubadiver
external usenet poster
 
Posts: 1,673
Default "invalid bracketing of name" when referencing Query Parameter


I asked myself the same thing.

--

The 11th day of every month:

http://truthaction.org/forum/index.php


"Jeff Boyce" wrote:

why post twice?

--
Regards

Jeff Boyce
www.InformationFutures.net

Microsoft Office/Access MVP
http://mvp.support.microsoft.com/

Microsoft IT Academy Program Mentor
http://microsoftitacademy.com/

"scubadiver" wrote in message
...

I have looked at my SQL and changed the bracketing but now it says there

is
a syntax error in the parameter clause:

PARAMETERS =[forms]![reports form]![DateFrom] And =[forms]![reports
form]![DateTo] DateTime;


"Duane Hookom" wrote:

Did you view the SQL view and change it there?

--
Duane Hookom
MS Access MVP
--

"gregglund" wrote in message
...
Any suggestions for work around? I get this same problem not matter

what I
put into the Query-Parameter Dialog.

gregg

"Duane Hookom" wrote:

Fix it, save it, and hope it doesn't happen again. I'm not sure why

it
happens but it is a bug.

--
Duane Hookom
MS Access MVP
--

"GreggLund" wrote in message
...
In Access2003 I have a query that uses the start and stop date that

it
gets
from a form. In the query I have entered the fields in the Query
Preference.

Form - "frmSelector"
start date field - [forms]![frmSelector]![txtStartDate]
stop date field - [forms]![frmSelector]![txtStopDate]

when I run the query I get a messagea message "invalid bracketing

of
name
"[forms!frm_Selector!txtStartDate]"". But what I entered into
Queries-Parameters was forms!frm_Selector!txtStartDate. When you

save
the
query it adds the brackets. If I enter
[forms]![frm_Selector]![txtStartDate]...I get
"[[forms]![frm_Selector]![txtStartDate]]"

Any suggestions?








 




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
Here's a shocker Mike Labosh General Discussion 2 October 26th, 2004 05:04 PM
Error Message: Invalid Bracketing when trying to set Parameters tpope999 Running & Setting Up Queries 3 October 14th, 2004 07:02 PM
Print Taher Setting Up & Running Reports 1 August 31st, 2004 09:07 PM
Using a query with a replaceable parameter as the source of a control Hoo Using Forms 2 May 30th, 2004 09:43 AM


All times are GMT +1. The time now is 05:51 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.