K kirky007 Registered User. Local time Today, 12:52 Joined Aug 22, 2005 Messages 24 Aug 31, 2005 #1 I only want my refresh button to work (called command42) to work if there is a value in the hoursworked cell which is in the subform (called timesheet1). Any ideas?
I only want my refresh button to work (called command42) to work if there is a value in the hoursworked cell which is in the subform (called timesheet1). Any ideas?
I iago18 Registered User. Local time Today, 07:52 Joined Aug 29, 2005 Messages 33 Aug 31, 2005 #2 Put similar code in the OnClick() event of command42... If not isnull(Forms![Timesheet1]![HoursWorked]) then 'Perform refresh end if You might also be able to reference a control in the subform using: Form.Subform.Control ...
Put similar code in the OnClick() event of command42... If not isnull(Forms![Timesheet1]![HoursWorked]) then 'Perform refresh end if You might also be able to reference a control in the subform using: Form.Subform.Control ...