B
bbcdancer
Why do I need all the six commas in this MS access VBA code to parse
data
from one text box form to another text box form?
Main Form:
---------------------------------------------------------------------
Private Sub cmdOpenForm2_Click()
DoCmd.OpenForm "frmTwo", , , , , , Nz(Me![txtKeywords], Null)
'DoCmd.OpenForm "frmTwo", Nz(Me![txtKeywords], Null)
End Sub
--------------------------------------------------------------------
Secondary Form:frmTwo
--------------------------------------------------------------------
Private Sub Form_Open(Cancel As Integer)
Me![lstKeywords].RowSource = Nz(OpenArgs, "No Keywords")
End Sub
-------------------------------------------------------------------
data
from one text box form to another text box form?
Main Form:
---------------------------------------------------------------------
Private Sub cmdOpenForm2_Click()
DoCmd.OpenForm "frmTwo", , , , , , Nz(Me![txtKeywords], Null)
'DoCmd.OpenForm "frmTwo", Nz(Me![txtKeywords], Null)
End Sub
--------------------------------------------------------------------
Secondary Form:frmTwo
--------------------------------------------------------------------
Private Sub Form_Open(Cancel As Integer)
Me![lstKeywords].RowSource = Nz(OpenArgs, "No Keywords")
End Sub
-------------------------------------------------------------------