Refreshing Subform

  • Thread starter Thread starter Josef
  • Start date Start date
J

Josef

hi,

i have records that are deleted in a subform when i click a button in
the main form. what results are fields with #DELETED.

how can i refresh the subform data once they are deleted ??

many thx (again)

joe.
 
Josef said:
hi,

i have records that are deleted in a subform when i click a button in
the main form. what results are fields with #DELETED.

how can i refresh the subform data once they are deleted ??

many thx (again)

joe.

Suppose the subform control (on the main form) that is displaying the
subform is named "sfMySubform". Then when you need to requery it,
execute this statement:

Me!sfMySubform.Requery
 
Back
Top