G
Gordon McCulloch Clarke
I am a knowledgeable MS Access developer, who is migrations MS Access 97
applications to MS Access 2003 and I have encountered the following problem.
I have a form maintaining a single record (Add/Edit/Delete), where the
majority of the fields are spread over 6 tab pages of a tab control, which
work fine.
However the seventh tab page supports a subform which uses Master/Child
links to allows the the maintainance of related records in a related table.
In MS Access 97, the Tab Control On Change event contained code to force a
write/update of the single record, using DoCmd.RunCommand acCmdSaveRecord,
and included code to trap any failure to write/update (either by Cancel in
Form_BeforeUpdate event or MS Access table validation failure). If the event
of any such failure the subform is made not visible and control remains on
the single record form. This worked well.
In MS Access 2003, the save record command now results in the error
"The command or action 'SaveRecord' isn't available now.
The save record command code in a Command Button work successfully.
Any ideas as to why MS Access 2003 Tab Control no longer allows the save
record command and any suggestions other than replacing all Page Tabs with
Command Buttons?
applications to MS Access 2003 and I have encountered the following problem.
I have a form maintaining a single record (Add/Edit/Delete), where the
majority of the fields are spread over 6 tab pages of a tab control, which
work fine.
However the seventh tab page supports a subform which uses Master/Child
links to allows the the maintainance of related records in a related table.
In MS Access 97, the Tab Control On Change event contained code to force a
write/update of the single record, using DoCmd.RunCommand acCmdSaveRecord,
and included code to trap any failure to write/update (either by Cancel in
Form_BeforeUpdate event or MS Access table validation failure). If the event
of any such failure the subform is made not visible and control remains on
the single record form. This worked well.
In MS Access 2003, the save record command now results in the error
"The command or action 'SaveRecord' isn't available now.
The save record command code in a Command Button work successfully.
Any ideas as to why MS Access 2003 Tab Control no longer allows the save
record command and any suggestions other than replacing all Page Tabs with
Command Buttons?