Re: multiple instances of a form x 2

From: Miranda (mirandapbourke_at_hotmail.com)
Date: 09/03/04


Date: Fri, 3 Sep 2004 10:48:59 +1000

thanks wayne, i would do that except there is no docmd.openForm command. i
have a function with something like this:

    Dim frm2 As Form
    Set frm2 = New Form_dataEntryForm

so because i don't have that docmd i don't know how to pass the value

any other ideas?

thanks!! Miranda

"Wayne Morgan" <comprev_gothroughthenewsgroup@hotmail.com> wrote in message
news:uTt$D7PkEHA.324@TK2MSFTNGP11.phx.gbl...
> Try passing the hWnd as a text string in the OpenArgs argument of the
> DoCmd.OpenForm command. You can them get that string in the opened form
with
>
> strGetString = Me.OpenArgs
>
> --
> Wayne Morgan
> Microsoft Access MVP
>
>
> "Miranda" <mirandapbourke@hotmail.com> wrote in message
> news:%23SIGKIKkEHA.3536@TK2MSFTNGP12.phx.gbl...
> > hi ,
> >
> > my main form is able to load multiple instances of the second form. i
then
> > want the 2nd form to load multiple instances of the third form. I have
the
> > first and second form operating correctly. but i'm having probs getting
> > the
> > 3rd form going. i'm using the hwnd as an identifier for the forms. when
> > the
> > third form is opened i want to pass the 2nd forms hwnd to it but i don't
> > know how to do this
> >
> > does anyone have any experience with such things?
> >
> > any help would be greatly appreciated!!
> >
> >
>
>



Relevant Pages

  • Re: 2 Forms Updating 1 Table
    ... > Another option is to pass this value in the OpenArgs argument, ... > Load event of the second form, use this argument to move to the desired ... The OpenArgs argument accepts a string value, ... > Wayne Morgan ...
    (microsoft.public.access.forms)
  • Re: negative hex
    ... The second form is just wrong; the first form is parsed correctly, ... The syntax that is recognized is the same as that for the ... The whole program is around 6 kloc, not the parser. ... from the command string" subroutine is another 35 or so, ...
    (sci.electronics.design)
  • RE: move some values from one form to another form
    ... record, click the command button, it shows the information of the previous ... Dim stDocName As String ... This assumes that the fields on the second form have the same fieldnames as ... 'Opens frmWarrantyReport to populate some fields from frmMTR ...
    (microsoft.public.access.formscoding)
  • Re: Check to see if files exists and delete it.
    ... As Wayne noted you can use the dir function: ... "Paul Overway" wrote in message ... >> I only want to do this in VBA, I use the kill command ... >>>You can use the Shell command to do this from a Dos ...
    (microsoft.public.access.modulesdaovba)
  • Re: 2 Forms Updating 1 Table
    ... Could you clarify what is the DoCmd.OpenForm. ... View, FilterName, WhereCondition, DataMOde, WindowMode, OpenArgs) to be the ... > Load event of the second form, use this argument to move to the desired ... > Wayne Morgan ...
    (microsoft.public.access.forms)