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  

Access automatically changes name of form in conditional query



 
 
Thread Tools Display Modes
  #1  
Old July 10th, 2009, 01:21 AM posted to microsoft.public.access.queries
jimati
external usenet poster
 
Posts: 1
Default Access automatically changes name of form in conditional query

I have a list box on a form that has information that changes based off of a
field on my form.

For example, in a text box if I put "RED", the list box shows me all flowers
that are red. If I put "Yellow", the list box updates and shows me all that
are yellow.

In the query, for flower type, I have the criteria look like this...

=Forms!frmflowers!txtcolor

At the discretion of Access, everytime I jump out of design view and try to
view the page, it changes the criteria to:

=Forms!frm1!txtcolor

I don't know where frm1 is or why it keeps changing, but I have to keep
going back in and changing it. Then, everytime I design something on that
page, it changes it again.

Any suggestions? This is so frustrating!!
  #2  
Old July 10th, 2009, 04:26 PM posted to microsoft.public.access.queries
Jerry Whittle
external usenet poster
 
Posts: 4,732
Default Access automatically changes name of form in conditional query

Which version of Access? It might be a bug. Make sure that Access and Office
are fully patched.

It could be Name Autocorrect going goofy. In Access 2003 and earlier go to
Tools, Options, General tab. Turn off the Name AutoCorrect options. While
there turn off Compact of Close. Trust me.

Next go to the Spelling tab and click on the AutoCorrect Options. Believe it
or not, this AutoCorrect is different thatn Name AutoCorrect. See if for some
strange reason "frmflowers" is listed in the scroll down area.

However I got a feeling that your database might be corrupted. If the above
doesn't work, create a new database file and import everything from the old
database. See if the new on works.
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


"jimati" wrote:

I have a list box on a form that has information that changes based off of a
field on my form.

For example, in a text box if I put "RED", the list box shows me all flowers
that are red. If I put "Yellow", the list box updates and shows me all that
are yellow.

In the query, for flower type, I have the criteria look like this...

=Forms!frmflowers!txtcolor

At the discretion of Access, everytime I jump out of design view and try to
view the page, it changes the criteria to:

=Forms!frm1!txtcolor

I don't know where frm1 is or why it keeps changing, but I have to keep
going back in and changing it. Then, everytime I design something on that
page, it changes it again.

Any suggestions? This is so frustrating!!

 




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 05:14 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.