T
trevi
hi,
I think I posted a question before about this, but I still can't fix my
problem. I have linked a form and subform. They work fine except when I first
bring the form up.
Instead of my form being blank, I get the last two records entered in the
subform. I have a combo box on the main form which is blank(that's what I
want ) when I first pull my form up. I tried these things to get rid of the
records appearing in the subform:
Load event of main: me.subform.setfocus
docmd.gotorecord,record:=acnewrec
I put the same code in the subform current ( not sure if this is really
correct).
I tried to set a recordset to the underlying recordsetclone of the subform ,
and tried
rs.addnew, but nothing works. How do I fix this? I welcome any suggestion!
thanks !!!!
I think I posted a question before about this, but I still can't fix my
problem. I have linked a form and subform. They work fine except when I first
bring the form up.
Instead of my form being blank, I get the last two records entered in the
subform. I have a combo box on the main form which is blank(that's what I
want ) when I first pull my form up. I tried these things to get rid of the
records appearing in the subform:
Load event of main: me.subform.setfocus
docmd.gotorecord,record:=acnewrec
I put the same code in the subform current ( not sure if this is really
correct).
I tried to set a recordset to the underlying recordsetclone of the subform ,
and tried
rs.addnew, but nothing works. How do I fix this? I welcome any suggestion!
thanks !!!!