473,406 Members | 2,371 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,406 software developers and data experts.

Inconsistently Occurring Parameter Dialog when there should be Nothing

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 1383
Sicelo
5
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
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
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 Expert 1GB
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
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: ...
5
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...
2
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...
18
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 ==...
4
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...
6
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...
3
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...
2
by: Roger | last post by:
Anyone know how to pass a parameter to a query via a report in Access 2003?
10
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
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
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...

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.