472,794 Members | 2,207 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

problems with OpenForm - XP

Hi,

Hoping someone out there can help with a very frustrating problem...

Have a database created in A2k, works fine on my machine (Windows 2k),
however when running it (an MDE file) on an XP machine, it produces an
error on the following line:

DoCmd.OpenForm strFrm, , , , , , strOA

'strFrm' and 'strOA' are passed to the procedure as
'frmCreateProposal' and 'PE'. The error says it cannot find form name
'PE', which is actually the opening argument, not the form name. For
some bizarre reason, it seems to be interpreting the opening argument
as the form name, but only on the XP machine. Is this potentially a
Windows 2k/XP problem, or an MDE problem??

Any insights/suggestions/solutions will be most welcome.

Thanks.
Nov 12 '05 #1
2 1427
At a guess, this is more likely to be a difference in service packs than in
operating system.

Do both machines have SP3 for Office XP installed? There is a (somewhat
different) reference to OpenArgs being addressed in SP3 in this article:
http://support.microsoft.com/?id=836030

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"rightcoast" <ri***********@yahoo.com> wrote in message
news:6d**************************@posting.google.c om...

Hoping someone out there can help with a very frustrating problem...

Have a database created in A2k, works fine on my machine (Windows 2k),
however when running it (an MDE file) on an XP machine, it produces an
error on the following line:

DoCmd.OpenForm strFrm, , , , , , strOA

'strFrm' and 'strOA' are passed to the procedure as
'frmCreateProposal' and 'PE'. The error says it cannot find form name
'PE', which is actually the opening argument, not the form name. For
some bizarre reason, it seems to be interpreting the opening argument
as the form name, but only on the XP machine. Is this potentially a
Windows 2k/XP problem, or an MDE problem??

Any insights/suggestions/solutions will be most welcome.

Thanks.

Nov 12 '05 #2
Thanks for the reply. Not sure about the service packs but - as often
happens, I resolved my own issue shortly after posting the message.

When I ran the mdb on the XP machine, it worked fine, so I guessed
that the problem was the mde. So...I converted the mdb to Access 2002
format, then created the mde from that version, and it worked fine. I
haven't the faintest clue why the A2k mdb would function correctly on
the XP machine, while the mde created from that same file would not,
but figuring out a way past the problem (and a very simple one at
that...) will have to suffice.
"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message news:<40***********************@freenews.iinet.net .au>...
At a guess, this is more likely to be a difference in service packs than in
operating system.

Do both machines have SP3 for Office XP installed? There is a (somewhat
different) reference to OpenArgs being addressed in SP3 in this article:
http://support.microsoft.com/?id=836030

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"rightcoast" <ri***********@yahoo.com> wrote in message
news:6d**************************@posting.google.c om...

Hoping someone out there can help with a very frustrating problem...

Have a database created in A2k, works fine on my machine (Windows 2k),
however when running it (an MDE file) on an XP machine, it produces an
error on the following line:

DoCmd.OpenForm strFrm, , , , , , strOA

'strFrm' and 'strOA' are passed to the procedure as
'frmCreateProposal' and 'PE'. The error says it cannot find form name
'PE', which is actually the opening argument, not the form name. For
some bizarre reason, it seems to be interpreting the opening argument
as the form name, but only on the XP machine. Is this potentially a
Windows 2k/XP problem, or an MDE problem??

Any insights/suggestions/solutions will be most welcome.

Thanks.

Nov 12 '05 #3

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

Similar topics

2
by: nic | last post by:
Hi I am currently having problems getting two forms to behave the way I want. I have two tables Student and Application, and their respective forms. (Tables)Student has StudentID (PK) & an...
0
by: nic | last post by:
Hi I am currently having problems getting two forms to behave the way I want. I have two tables Student and Application, and their respective forms. (Tables)Student has StudentID (PK) & an...
3
by: Lyn | last post by:
Hi, I have a Search input form which collects from the user a person's name. I am using LIKE with a "%" suffix in the SQL so that the user does not have to type in the full name. When they hit...
8
by: John Welch | last post by:
I have a command button with the following code: DoCmd.OpenForm "frmSearchAssignments", , , "SearchAssignmentID = 1" (SearchAssignmentID is the PK, auto number) When it runs, the form opens but...
4
by: Max | last post by:
Playing around with multi-threading programs and ran into this little problem that maybe someone here could explain... Basically I have a class which launches a form object. Once the form is...
3
by: stumo | last post by:
Hi I'm fairly new to access and as such my experience of VBA is somewhat limited. I have a login form which is linked to an "employees table" which asks for users to enter their name and...
1
by: rdsandy | last post by:
Hi, I am using Access 2003. I have a list box on a form which has 6 columns in it, with data taken from a table. I have an unbound text box which holds the ID number for the selected item in the...
6
by: Tomino | last post by:
Hi, I am working on a log in form for an Access 2003 db. Because the built-in jet database engine doesn't supply the ability to record every log attempt, failed attempt, validate passwords, user...
12
truthlover
by: truthlover | last post by:
I have a problem that's difficult to explain, so please be patient. The database is in 2000 format, though I'm doing most of the designing in 2007 (saved as 2000 format, of course) I have a...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth

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.