473,626 Members | 3,947 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Inconsistently Occurring Parameter Dialog when there should be Nothing

9 New Member
Hey guys, I have a weird one. My database has about 25 users, and today one of the users came to me and informed me she was getting an error message, which turned out to be query parameter dialog box. When she hit the exit button of a search form, this dialog box would come up sometimes. There doesnt appear to be any consistency in the search criteria or actions taken on the form that cause this message to come up, and I cant get it to come up at all on my computer. To be sure, I had her demonstrate the problem to me, and it occurred three times out of about a dozen.

The parameter the query is looking for is normally filled by referencing information on the form. I think the form is being deactivated by the exit button (so the query cant pull the information as a parameter) but for some reason its also trying to requery after the button is pressed. The only code in the function is docmd.close.

I realize that random errors are tech support's worse nightmare, but does anyone have any ideas? I havnt seen anything like this before.

Thanks for any and all help~

Thomas
Aug 16 '07 #1
4 1392
Sicelo
5 New Member
i dont know whats going on but a think the computer of that person is having a problem or it has a virus /bug coz this thing heppens to one person yet it is the same database to all the other.i am not an expect i just started access two years ago try to scan the computer coz some of virus are trought macros....
Aug 16 '07 #2
jaegertw2
9 New Member
I don’t know what’s going on but a think the computer of that person is having a problem or it has a virus /bug coz this thing happens to one person yet it is the same database to all the other. I am not an expect; I just started access two years ago try to scan the computer coz some of virus are through macros....
Thanks for the response.

I don’t think it’s a virus, because the database is working perfectly from a functional standpoint. It’s just an operational blip, but the action taking place is kind of reasonable.

This is not a computer I have access to or permission to scan, and getting IT to do it would require justification and time, and I’m not sure how much it would accomplish.

I do think it is a specific computer issue, but if it can happen on one machine it can happen again on another. My reaction was to try to catch this event the way errors are caught, but I don’t know how to do that with internal Access commands, or if it worth pursuing, or even possible.

Any thoughts? (all are appreciated)

Thomas
Aug 16 '07 #3
jaegertw2
9 New Member
To All,

This issue was never resolved, so if anyone else has any input I would greatly appreciate it.

Thomas
Aug 28 '07 #4
Scott Price
1,384 Recognized Expert Top Contributor
Thomas, apologies first of all, it appears your post got lost in the cracks.

You're right! Random errors are a nightmare to track down...

If you are not the original developer of the database, have a look around to find if the developer left a blue-print of the database design, as this can give you a significant head-start in troubleshooting . If they didn't, contact them to see if they can provide one.

First of all you can try to determine if it is machine specific or user specific. Just having a 'watch' session to view the user's habits of data entry, other programs running in the background, etc etc, could be all you need to eliminate this possibility.

If you can eliminate the user specific element, then you are left with eliminating the machine specific element. This will include checking references, security features (access 2003 sandbox mode comes to mind), access version installed, service packs installed, hotfixes installed, etc. If you are able to, have a look at the event viewer (Right-click My Computer>l-click Manage>Event Viewer). This will help to see if there is an application error being caught by windows or not.

If you can eliminate the machine specific element, then you're into the hard work part of it... Probably the next place I would look is the code that is running the query itself, particularly looking at places in the code where error messages have been turned off.

Some general suggestions, especially if you are the administrator of the database:
On your version of the db you should probably have some sort of error trapping and recording. There are several ways to do this, but probably the best way is through a table that you have code that traps and writes each error # and message to.

It wouldn't be a bad idea either to track changes made by the user, I've got a sample History database that I downloaded from somewhere (can't remember where at the moment, sorry :-( ) that does just this for a simple sample ;-) It would take a bit of reworking to implement it in your multi-user setting, though.

Not much specific help at this point, just a few general observations! If you do find the problem, please post back here letting us all know what it was!

Regards,
Scott
Aug 28 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
5828
by: The Plankmeister | last post by:
Hi... I have a query which I'm accessing through PHP as a stored procedure. However, I need to be able not to pass a couple of parameters in certain situations. When I do this, I get an error: Parameter has no default value. But it works fine in Access when I run the query from there and just hit
5
6042
by: vivienne.netherwood | last post by:
I am developing an Access Project front end with a SQL server database. I have written a stored procedure that returns a record set and also a value via an output parameter. The procedure is as follows CREATE PROCEDURE qslCheckShiftTimes @Ward NVARCHAR(6), @Shift NVARCHAR(10), @Exists TINYINT OUTPUT AS
2
1677
by: MLH | last post by:
I have the following code in an Access 97 procedure: MySQL = "INSERT INTO tblVehicleNames (VehicleMake) SELECT AS ;" DoCmd.SetWarnings False DoCmd.RunSQL (MySQL) DoCmd.SetWarnings True When it runs, a dialog box instructing me to "Enter the make". It is expecting me to type in something like "Chevy Caprice". The dialog box has 2 buttons: OK and Cancel. If I enter nothing at all and click
18
1599
by: hzmonte | last post by:
typedef int t_compare_func(const void *, const void *); struct node *tree_search(struct node *root, const void *keyy, t_compare_func *comp) { struct node *cur_item; int result; if (root == NULL) return NULL; cur_item = root; while (cur_item != NULL) {
4
4864
by: Ron Rohrssen | last post by:
I want to show a dialog and when the form (dialog) is closed, return to the calling form. The calling form should then be able to pass the child form to another object with the form as a parameter. For example, FormOptions formOptions = new FormOptions(); if (formOptions.ShowDialog(this) == DialogResult.OK) {
6
4048
by: Steve Long | last post by:
Help, I'm running VS.NET 2003 and when I try to start my application, I get the "unhandled exception" dialog instead of the IDE highlighting the offending line of code. The problem appears to be instantiating a particular class in my project but the dialog doesn't tell me what code in the class is causing the problem (and it a large class). How can I get the IDE to take me to the offending line of code? If I put this line in my...
3
2750
by: Gordan A Ziza | last post by:
Hello everyone, We are developing a MDI application and what we would require is the following: 1. To open a MDI child form as Form1 2. To open another MDI child form as Form2 that would act as a dialog form for the Form2 3. Form2 must not prevent any other MDI forms from opening or otherwise prevent application from working properly
2
6372
by: Roger | last post by:
Anyone know how to pass a parameter to a query via a report in Access 2003?
10
3752
by: robert d via AccessMonster.com | last post by:
I have a global error handler that up until today has been working flawlessly. Let me first provide the relevant code **************************************************************** On Error GoTo Err_Ctrl 'This code is generating the error If Nz(Me.SubformCont.Form!txtUsage,"") = "' Then Msg "There's a problem"
0
8266
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8705
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8365
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8505
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7196
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6125
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5574
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4092
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1511
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.