General information
Category:
Coding, syntax & commands
Code on Main form to call Statistics form:
Private Sub mnuStats_Click()
frmStatistics.Show vbModal, Me ' show statistics form
If Len(txtGoTo.text) > 0 Then ' if text is returned from statistics form
Call cmdGoTo_Click
End If
End Sub
Code on Statistics form, if clicked, returns to Main form:
Private Sub txtMaxDepthDive_DblClick()
frmDiveLog.txtGoTo.Text = txtMaxDepthDive.Text
Unload Me
End Sub
This is how I am trying to do it. No text is being transfered from the Statistics form.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only