subform events

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to have a subform collapse programatically in the afterupdate
event of one of its fields? Also, how do I set the focus to a subform field
when the form is expanded?
Thanks.
 
sounds like your subform's SourceObject property is set to a table object,
not to another form object, is that correct? and the table has its'
Subdatasheet property set to [Auto] or to the name of another table, is that
correct?

if so, i don't think there's any way to do what you're asking. fields in
table have properties, of course, but not the Event properties that you find
in form objects and form controls. that's one reason that it's recommended
that users never have direct access to tables, all data interaction should
be performed through forms - where the developer can control those
interactions.

hth
 
Back
Top