?
=?iso-8859-1?Q?Utopian=AE?=
Hello RuralGuy, thanks for reply!
I dont undertand where I have to put your code .... in the after update event I have this:
Private Sub choose_AfterUpdate()
DoCmd.OpenForm "Secondary 2", , , "[idCity]=[forms]![initial]![choose]"
End Sub
Thanks!
Adrian.-
--------------------------------------------------------------------------------
I dont undertand where I have to put your code .... in the after update event I have this:
Private Sub choose_AfterUpdate()
DoCmd.OpenForm "Secondary 2", , , "[idCity]=[forms]![initial]![choose]"
End Sub
Thanks!
Adrian.-
--------------------------------------------------------------------------------
I believe I understand your question. Pass the *where* clause as absolute
information rather than a reference to your form that must now remain open for
the query of the next form.
DoCmd.OpenForm "Secondary 2", , , "[idCity]='" & Me.choose & "'"
'-- Then close your form
DoCmd.Close acForm, Me.Name, acSaveNo
Hello everybody!
I need this precise:
I have 2 Forms, one "initial" and another "Secondary 2"..... In the "initial" there is a ComboBOX (with the code above) in which I choose a "City"... this does that it loaded the "Secondary 2" form just by the data pertaining to the chosen city.
--------------------------------------------------------------------------------
Private Sub choose_AfterUpdate()
DoCmd.OpenForm "Secondary 2", , , "[idCity]=[forms]![initial]![choose]"
End Sub
--------------------------------------------------------------------------------
Now, which I need is: That when choosing this city once, no longer is possibility of returning to choose another one in the next load.
I hope to have been clear, and sorry for my english!!!
Thanks in advance,
Adrian.-
_______________________________________________
hth - RuralGuy (RG for short)
Please post to the NewsGroup so all may benefit.