problems with OpenForm - XP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • rightcoast

    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
    'frmCreatePropo sal' 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.
  • Allen Browne

    #2
    Re: problems with OpenForm - XP

    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:
    Microsoft Support is here to help you with Microsoft products. Find how-to articles, videos, and training for Microsoft Copilot, Microsoft 365, Windows, Surface, and more.


    --
    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 " <rightcoast_us@ yahoo.com> wrote in message
    news:6d8c75d6.0 404260704.59674 181@posting.goo gle.com...[color=blue]
    >
    > 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
    > 'frmCreatePropo sal' 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.[/color]


    Comment

    • rightcoast

      #3
      Re: problems with OpenForm - XP

      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" <AllenBrowne@Se eSig.Invalid> wrote in message news:<408d2a70$ 0$16597$5a62ac2 2@freenews.iine t.net.au>...[color=blue]
      > 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 " <rightcoast_us@ yahoo.com> wrote in message
      > news:6d8c75d6.0 404260704.59674 181@posting.goo gle.com...[color=green]
      > >
      > > 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
      > > 'frmCreatePropo sal' 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.[/color][/color]

      Comment

      Working...