paoconnell
Programmer
I'm maintaining a Access 2003 application that has two forms. Each form uses a combo box (shipment prefix) and a text box (numeric identifier) which are then concatenated to create a shipment ID. An Add button puts the shipment ID into the table behind a subform on the same form. The table is being filled correctly by the shipment ID, but the subform doesn't display the data until the subform is clicked on by a mouse.
Similarly, if the Erase button is pressed, the table is erased, but the old data persists in the subform until each row is clicked, or the form is closed.
This is a cosmetic problem (the reports print whether they appear in the subform or not), but users really don't like it when the data they've typed in doesn't show up in the subform.
Incidentally the ID field in the table behind the subform is used only to build a list of forms to be printed, and the ID field is cleared after printing.
I've researched the problem on TekTips as well as other Access websites. Many people are having this problem or similar ones, and several solutions are proposed by other programmers, but the suggestions don't seem to work. Better ideas (or a link to a fix that actually works) would be happily accepted.
Pat O'Connell
Similarly, if the Erase button is pressed, the table is erased, but the old data persists in the subform until each row is clicked, or the form is closed.
This is a cosmetic problem (the reports print whether they appear in the subform or not), but users really don't like it when the data they've typed in doesn't show up in the subform.
Incidentally the ID field in the table behind the subform is used only to build a list of forms to be printed, and the ID field is cleared after printing.
I've researched the problem on TekTips as well as other Access websites. Many people are having this problem or similar ones, and several solutions are proposed by other programmers, but the suggestions don't seem to work. Better ideas (or a link to a fix that actually works) would be happily accepted.
Pat O'Connell