473,395 Members | 1,856 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,395 software developers and data experts.

Weird actions after upgrading from 2.0-2000

I finally tried got around to converting an old access 2.0 databases
to Access 2000
(these are backend front end databased with the back end tables still
in 2.0)

Most everything seems to work O.K except one parameter select query
which gets its parameters from a form.

It's a search query that's front ended by a form with unbound text
boxes
A user is prompted to enter a combination of text and leading and/or
trailing asterisk's into the form's text box and press a button which
opens the query.

The clerks will typically enter the * as a wildcard - in the acess 2.0
version irt works fine in the 2000 version ---blank dynaset.

I attempted to troubleshoot by accessing the query directly and
entering the parameter in the QBE grid- it works fine with any
combination of text and *

Next I tried troubleshooting the form that provides the paramenter to
the query.

If I type the exact text I'm looking for it works fine but any
incomplete test plus asterisk, asteric by itself, or % sign returns a
blank dynaset.

Somehow whe the parameter in the form's tesxt box is not getting to
the query properly

Any Ideas

Pete Moss
Nov 13 '05 #1
2 1313
If I understand your question, you are using a parameter query that refers
to a control on a form for its parameters. I don't use parameter queries in
this situation, but construct the where clause and append it to the basic
SQL which I use for the RecordSource of a Report or Form (or for the
WhereCondition parameter of a DoCmd.OpenForm or DoCmd.OpenReport). The only
kind of Query that I would execute directly in such a case would be an
Action Query -- Make Table, Append, Update, or Delete. In developed
applications, my users access the information via Forms and Reports and do
not have direct access to Tables or Queries in Datasheet view.

If you _are_, as I do, building the WhereCondition or the WHERE clause, I
find it useful to either use Debug.Print to view the constructed string in
the Immediate Window, or display it in a MsgBox after I have built it. If
you are using the Query that internally refers to the Controls, you cannot
"intercept" the SQL to examine it in these ways.

Access 2000 is out of support and has long been plagued with "issues", not
all of which are resolved even with all three Service Releases / Service
Packs. But, if you cannot upgrade to Access 2002 or 2003, be sure to obtain
and apply all the SR/SPs and any more recent fixes... they can be obtained
through the Office Update menu item in Windows Update (useful, generally,
only if you have a high-speed Internet connection).

Larry Linson
Microsoft Access MVP

"pete moss" <mo********@yahoo.com> wrote in message
news:8f**************************@posting.google.c om...
I finally tried got around to converting an old access 2.0 databases
to Access 2000
(these are backend front end databased with the back end tables still
in 2.0)

Most everything seems to work O.K except one parameter select query
which gets its parameters from a form.

It's a search query that's front ended by a form with unbound text
boxes
A user is prompted to enter a combination of text and leading and/or
trailing asterisk's into the form's text box and press a button which
opens the query.

The clerks will typically enter the * as a wildcard - in the acess 2.0
version irt works fine in the 2000 version ---blank dynaset.

I attempted to troubleshoot by accessing the query directly and
entering the parameter in the QBE grid- it works fine with any
combination of text and *

Next I tried troubleshooting the form that provides the paramenter to
the query.

If I type the exact text I'm looking for it works fine but any
incomplete test plus asterisk, asteric by itself, or % sign returns a
blank dynaset.

Somehow whe the parameter in the form's tesxt box is not getting to
the query properly

Any Ideas

Pete Moss

Nov 13 '05 #2
Dunno. Don't use * or % any more than I can help. But did
notice that parameter queries in general were more likely
to crash and burn in Access 2K than in any previous version.

Also note that at least some versions of Jet 4.0 were
incompatible with Jet 2.5: you shouldn't share an MDB
with both engines at the same time. (although in general,
I think that using ANY two different versions of JET,
even different SP, at the same time is a bad idea)
"pete moss" <mo********@yahoo.com> wrote in message
news:8f**************************@posting.google.c om...
I finally tried got around to converting an old access 2.0 databases
to Access 2000
(these are backend front end databased with the back end tables still
in 2.0)

Most everything seems to work O.K except one parameter select query
which gets its parameters from a form.

Nov 13 '05 #3

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

Similar topics

0
by: Jerz | last post by:
Hi, I tried upgrading my version of PHP to 4.3.2 and now all of my pages are returning the following for nearly every variable: Notice: Use of undefined constant sopen - assumed 'sopen' in...
2
by: wellington fan | last post by:
Dear newsies, My ISP has offered to upgrade my servers from 3.23 to 4.1. I'm excited by the potential gains in performance, and the ability to write subqueries, but am wary of any forward...
7
by: Neil Ginsberg | last post by:
I'm having some problems with an Access 2000 MDB file with a SQL Server 7 back end, using ODBC linked tables. I previously wrote about this, but am reposting it with some additional information and...
1
by: ammarton | last post by:
Hello all...I'm a bit new to working with Macros in Access so forgive me if the terminology I use is not accurate. To preface this, basically I am using a form on a replicated database so the...
4
by: CJ Taylor | last post by:
Alright, I wrote this program that is used throughout my entire company for the past 9 months. Now, we have deployed it to well over 100 machines. So my Sys Admin comes up to me today and...
41
by: Petr Jakes | last post by:
Hello, I am trying to study/understand OOP principles using Python. I have found following code http://tinyurl.com/a4zkn about FSM (finite state machine) on this list, which looks quite useful for...
6
by: dunleav1 | last post by:
I have the following message in my db2diag.log file repeating every minute. Does anyone know what the error is ? 2006-07-10-10.27.08.921000-240 I95651H390 LEVEL: Error PID : 3228 ...
10
by: David Thole | last post by:
Hey all, I'm still very new at all this, but am going through the ASP.net 2.0 unleashed book, first chapter and trying to program my own little form emailer for fun. I tried following the code...
6
by: JimLad | last post by:
Hi, We have a major ASP app that we are in the process of upgrading to ASP.NET 1.1 and probably on to ASP.NET 2.0 in the middle of next year. (We will also be upgrading to SQL2K5 at the same...
6
by: milund | last post by:
I have a "funny" after upgrading to .NET2.0. The following code is placed inside an unsafe method in assembly "A" System.Object myIUnknownObject =...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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.