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

unwanted parameter value box

Hi Experts,
I am using a form for lot of info regarding registration. When I press close button, Enter Parameter Value box shows up asking me to put in value for OrgID.Exact wording there is Form!frmGala!intOrgID.
I am still new to VBA and have no clue why is that and what to do to get rid of it.
I appreciate all the help.
Thanks,
Syed
Jan 25 '08 #1
4 2128
MindBender77
234 100+
Hi Experts,
I am using a form for lot of info regarding registration. When I press close button, Enter Parameter Value box shows up asking me to put in value for OrgID.Exact wording there is Form!frmGala!intOrgID.
I am still new to VBA and have no clue why is that and what to do to get rid of it.
I appreciate all the help.
Thanks,
Syed
It sounds like the close button runs a query but, when the query is trying to run it can't determine what the OrgID field is.

My suggestion would be to open the form up in design view right click on the button to bring up its properties and view the code in the OnClick event. This should determine which query its trying to run.

I would then view the query in design view and try trouble-shooting it from there.

Hope this points you in the right directions,
JS
Jan 25 '08 #2
missinglinq
3,532 Expert 2GB
Mindbender's suggestion about a query running certainly sounds on the money. If the close button you're using is a custom close button, check the code in the button's OnClick event as suggested. If nothing is found there, or if the close button you speak of is the standard Access close button, also look in the code in the Form_BeforeUpdate or Form_Close events as well.

Linq ;0)>
Jan 25 '08 #3
Thanks a lot for your reply
Feb 4 '08 #4
If the above procedures don't work try these:
launch the Close button's OnClick event and type this before "DoCmd.Close"
command line:"DoCmd.Restore" .
for example:
Private Sub CloseButton_Click()
On Error GoTo Err_CloseButton_Click

DoCmd.Restore
DoCmd.Close


Exit_CloseButton_Click:
Exit Sub

Err_CloseButton_Click:
MsgBox Err.Description
Resume Exit_CloseButton_Click

End Sub
Jul 25 '08 #5

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

Similar topics

0
by: JB | last post by:
Hey ppl, I'm experiancing a very weird problem with my current Win32(win2k/XP) application. I'm using: * Delphi 7 * ADO * mySQL ODBC 3.51 drivers
3
by: StopBsod | last post by:
Hello group, I use XSLT to output a unix shell script based on the content of an XML file : The XSLT : <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">...
3
by: Brynjar Glesnes | last post by:
Hi, I've browsed the Fop FAQ, usenet and the internet hoping to find a solution to my problem, but in vain. I am using Xerces 2.6.2, Xalan-J 2.6.0 and Fop 0.20-5 to create PDF-documents. In...
23
by: chris Jangelov | last post by:
It seems that opening a link in a new window isn't considered to be good practise in xhtml 1.1. The w3c validation service does not accept it and I have to downgrade those pages to...
18
by: Steve Litvack | last post by:
Hello, I have built an XMLDocument object instance and I get the following string when I examine the InnerXml property: <?xml version=\"1.0\"?><ROOT><UserData UserID=\"2282\"><Tag1...
1
by: manojtjain | last post by:
I have a report which has 3 subreports included within it, each separated by a page break. So totally 4 pages are generated for the report. The second page shows an unwanted value in Left Hand Top...
29
by: Marco | last post by:
Hello, I have : float f = 36.09999999; When I do : char cf; sprintf(cf,"%0.03lf", f); I get : 36.100
4
by: mtgrizzly52 | last post by:
I have to be honest as I haven't done an all out search on this problem, due to having to get this database completed by tonight, and this problem just popped up. Ok the problem is that I have had...
56
by: Zytan | last post by:
Obviously you can't just use a simple for loop, since you may skip over elements. You could modify the loop counter each time an element is deleted. But, the loop ending condition must be...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: 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...

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.