How can I pass a form name to a variable in order for another form to access it.
Example:
If datetype = "from" Then
frmCellByBudget.fromDate.Value = axcalendar.Value
Else
frmCellByBudget.toDate.Value = axcalendar.Value
End If
FrmCellByBudget is just one of the five forms that could be called in this subroutine. Is there a way to assign the form name to a variable and replace frmcellbybudget with the variable?
[Edited by hbarker on 07-26-2000 at 04:08 PM]


Reply With Quote