check for control

  • Thread starter Thread starter smk23
  • Start date Start date
S

smk23

IS there a way programmatically to check whether a control is on a form? I
want to do one thing if a control is there, another thing if not.

Thanks so much.

Sam
 
Sam

It sounds like you are trying to check for the presence of a control ...
why? Do your forms regularly lose control(s)?

Regards

Jeff Boyce
Microsoft Office/Access MVP
 
I was writing a public function that with code I would use with several
forms. Sometimes I want the value returned to the calling code, but other
times the control the return value is for is not on the form. I could put the
control there as invisible, or just write the value directly to the table.
 
Back
Top