473,396 Members | 1,843 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Access 2003 form criteria for inline list box query

Hello,
I wrote a database applicaiton using Access XP (2002) and everything
has been working good for the client until they purchased a couple of
new computers with Access 2003.

The meetings form has an unbound combo box listing all the meetings in
the database allowing the user to navigate between meeting records.

The meetings form also has a list box that displays a list of members
associated with a meeting.
The list box has an inline query that uses the navigation combo box as
the parameter for the list of meeting members shown. THe list box's
row source is
SELECT [FirstName] & " " & [LastName] FROM MembersTbl WHERE
MembersTbl.MeetingID = [Forms]![MeetingFrm]![MeetingNavigationComboBx]

The database has been and is working fine with Access 2000 and Access
XP (2002), however when used with Access 2003 the list box's inline
query is changed to:
SELECT [FirstName] & " " & [LastName] FROM MembersTbl WHERE
MembersTbl.MeetingID = [Forms]![Form]![MeetingNavigationComboBx]
Access then prompts for the query criteria because it cannot find
control.

I have checked all of my code and the only references that I make to
the list box are to requery the listing. The criteria seems to be
changed even before the form opens.

I can manually change the list box query, however it reverts back to
the incorrect criteria and I don't want the users to have to go in and
change the list box query each time they try to open the form.

I've searched Microsoft and Google groups but have not found anything
simular to this. I apologize in advance if I missed an obvious
posting.

Has anyone else encountered anything simular? or have any suggestions?

Thanks in advance

Jan 3 '07 #1
3 3493
Is the Form still named MeetingFrm? And, by "inline query", do you mean
RowSource? I do not know why your Query would be changed unless at some
point you changed the name of MeetingFrm to "Form" (and, because Form is a
reserved word, that wouldn't be a good idea) and had the NameAutoCorrect
feature ON (you may have seen strong recommendations to turn that OFF here
in the newsgroups, as well as the sarcastic references to NameAutoCorrupt).

Larry Linson
Microsoft Access MVP
<rh******@triad.rr.comwrote in message
news:11**********************@v33g2000cwv.googlegr oups.com...
Hello,
I wrote a database applicaiton using Access XP (2002) and everything
has been working good for the client until they purchased a couple of
new computers with Access 2003.

The meetings form has an unbound combo box listing all the meetings in
the database allowing the user to navigate between meeting records.

The meetings form also has a list box that displays a list of members
associated with a meeting.
The list box has an inline query that uses the navigation combo box as
the parameter for the list of meeting members shown. THe list box's
row source is
SELECT [FirstName] & " " & [LastName] FROM MembersTbl WHERE
MembersTbl.MeetingID = [Forms]![MeetingFrm]![MeetingNavigationComboBx]

The database has been and is working fine with Access 2000 and Access
XP (2002), however when used with Access 2003 the list box's inline
query is changed to:
SELECT [FirstName] & " " & [LastName] FROM MembersTbl WHERE
MembersTbl.MeetingID = [Forms]![Form]![MeetingNavigationComboBx]
Access then prompts for the query criteria because it cannot find
control.

I have checked all of my code and the only references that I make to
the list box are to requery the listing. The criteria seems to be
changed even before the form opens.

I can manually change the list box query, however it reverts back to
the incorrect criteria and I don't want the users to have to go in and
change the list box query each time they try to open the form.

I've searched Microsoft and Google groups but have not found anything
simular to this. I apologize in advance if I missed an obvious
posting.

Has anyone else encountered anything simular? or have any suggestions?

Thanks in advance

Jan 3 '07 #2
I have never renamed the form in question, it has always been
MeetingFrm.

By "inline query" i do mean the Rowsource for the list box. However,
the query is not saved as an actual object thus the "inline query"
reference. Sorry form making up a term that wasn't official.

I will check on the NameAutoCorrect feature. Is this option only in
Access 2003? Is this option a database file specific option or a
machine specific option?

Thanks.
Larry Linson wrote:
Is the Form still named MeetingFrm? And, by "inline query", do you mean
RowSource? I do not know why your Query would be changed unless at some
point you changed the name of MeetingFrm to "Form" (and, because Form is a
reserved word, that wouldn't be a good idea) and had the NameAutoCorrect
feature ON (you may have seen strong recommendations to turn that OFF here
in the newsgroups, as well as the sarcastic references to NameAutoCorrupt).

Larry Linson
Microsoft Access MVP
<rh******@triad.rr.comwrote in message
news:11**********************@v33g2000cwv.googlegr oups.com...
Hello,
I wrote a database applicaiton using Access XP (2002) and everything
has been working good for the client until they purchased a couple of
new computers with Access 2003.

The meetings form has an unbound combo box listing all the meetings in
the database allowing the user to navigate between meeting records.

The meetings form also has a list box that displays a list of members
associated with a meeting.
The list box has an inline query that uses the navigation combo box as
the parameter for the list of meeting members shown. THe list box's
row source is
SELECT [FirstName] & " " & [LastName] FROM MembersTbl WHERE
MembersTbl.MeetingID = [Forms]![MeetingFrm]![MeetingNavigationComboBx]

The database has been and is working fine with Access 2000 and Access
XP (2002), however when used with Access 2003 the list box's inline
query is changed to:
SELECT [FirstName] & " " & [LastName] FROM MembersTbl WHERE
MembersTbl.MeetingID = [Forms]![Form]![MeetingNavigationComboBx]
Access then prompts for the query criteria because it cannot find
control.

I have checked all of my code and the only references that I make to
the list box are to requery the listing. The criteria seems to be
changed even before the form opens.

I can manually change the list box query, however it reverts back to
the incorrect criteria and I don't want the users to have to go in and
change the list box query each time they try to open the form.

I've searched Microsoft and Google groups but have not found anything
simular to this. I apologize in advance if I missed an obvious
posting.

Has anyone else encountered anything simular? or have any suggestions?

Thanks in advance
Jan 3 '07 #3
<rh******@triad.rr.comwrote
I have never renamed the form in question,
it has always been MeetingFrm.
I asked because it appeared that "MeetingFrm" in the SQL had been changed to
"Form". Did you try manually changing it back to "MeetingFrm"? If so, what
was the result? If not, give it a try... of course, before "dinking around
with" your database, you should always make a backup copy.
I will check on the NameAutoCorrect feature.
Is this option only in Access 2003? Is this option
a database file specific option or a machine
specific option?
No, it applies to some earlier versions as well... note it is not the
"AutoCorrect Options" directly on the Tools menu, but Tools | Options |
General | Track Name AutoCorrect.

Most of the experienced posters here suggest you turn it off, because it can
occasionally have some unanticipated consequences.

It appears to be an Access-wide setting on a machine, but is probably also
user-specific if you have more than one Userid. Of course, if there's a
userid that both you and I use, then each of us will have the same username
for user-specific items.

Larry Linson
Microsoft Access MVP

Jan 3 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: Sean C. | last post by:
Helpful folks, Most of my previous experience with DB2 was on s390 mainframe systems and the optimizer on this platform always seemed very predictable and consistent. Since moving to a WinNT/UDB...
10
by: Wayne Aprato | last post by:
I have a database that was written in Access 2003 using the Access 2000 file format. When I run the mdb in Access 2003 everything works fine. If I run it in Access 2000 the timer event won't fire...
7
by: Mike Nygard | last post by:
I'm experiencing extremely slow response times in design mode of my forms since moving to Access 2003. Simply dragging a button to a different position on the form takes 30 seconds or more. The...
14
by: Darin | last post by:
I have a table that I want to delete specific records from based on data in other tables. I'm more familiar with Access '97, but am now using 2003, but the database is in 2000 format. In '97, I...
4
by: Bob Alston | last post by:
Some more, rather specific Access performance questions. IN a split front-end & back-end Access/Jet ONLY LAN situation, and with all query criteria fields and join fields indexed: 1. Is is...
52
by: Neil | last post by:
We are running an Access 2000 MDB with a SQL 7 back end. Our network guy is upgrading to Windows Server 2003 and wants to upgrade Office and SQL Server at the same time. We're moving to SQL Server...
3
by: Sheldon | last post by:
I have the following query expression - Like Format((!!)) & "/*/" & (! !) which would translate to e.g. 04/*/2007 if someone is running a report for last month. The above expression is part of a...
1
by: DrJarmin | last post by:
Hello The problem is this: in the criteria for a list box I reference the parent form - and Access KEEPS changing the criteria for one that won't work. Details below: I have a couple of list...
2
by: MNNovice | last post by:
I am working on a database on my CD collection using Access 2003. Some of the table structures are given below. Table 1 tblMusicCategory Field 1: MusicCategoryID - Auto Number (PK) Field 2:...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.