OK, what is happening here:
Form 1 -- textbox and button
Form 2 -- textbox and button
Form 1 ----------------------------------------------------------------------
Public s As String
Private Sub Command1_Click()
s = Text1.Text
Form2.Show
Form1.Hide
End Sub
Form 2 -----------------------------------------------------------------------
Private Sub Command1_Click()
Form2.Hide
Form1.Show
End Sub
Private Sub Form_Load()
Text1.Text = Form1.s
End Sub
------------------------------------------------------------------------------------------------
<>Everything
works fine the first time. I enter text into Form1 textbox, click the
button and it is displayed in Form2 textbox, then I click on Form2
button and Form 1 is displayed again.
but.....
When I change
the text in Form1 textbox and click the button again, the textbox in
Form2 is the same as the first. It doesn't get updated.
Keith
<>
<>