View Full Version : Subform does not get on current event


buckfast
02-11-2002, 06:20 AM
Hi,
I have a form which contains four subforms. Whenever I change records on the main form the on current event only occurs for 3 of the 4 subforms. Also when I change records on the subform its on current event never occurs. All the subforms have the same parent-child relationship and where created in the same way. I'm lost - please help.
cheers,
Ewen.

Sohaila Taravati
02-12-2002, 07:34 AM
Try this on the on click event of your button on your subform:

screen.ActiveForm.Refresh

This code will refresh your data on your main form every time you change records.

Sohaila