Aug 2, 2007 #1 dpimental Programmer Jul 23, 2002 535 US I have a "tabbed" form that originally was set to open on new record; but I have since changed that property. But it still is opening on a new record, even though I am specifying ... Code: DoCmd.OpenForm "TabOrder",,,"orderno = 12" David Pimental (US, Oh)
I have a "tabbed" form that originally was set to open on new record; but I have since changed that property. But it still is opening on a new record, even though I am specifying ... Code: DoCmd.OpenForm "TabOrder",,,"orderno = 12" David Pimental (US, Oh)
Aug 2, 2007 #2 PHV MIS Nov 8, 2002 53,708 FR What is the value of the DataEntry property of this form ? Hope This Helps, PH. FAQ219-2884 FAQ181-2886 Upvote 0 Downvote
What is the value of the DataEntry property of this form ? Hope This Helps, PH. FAQ219-2884 FAQ181-2886
Aug 2, 2007 Thread starter #3 dpimental Programmer Jul 23, 2002 535 US The DataEntry Value is Yes. Should it be no? David Pimental (US, Oh) Upvote 0 Downvote
Aug 2, 2007 #4 PHV MIS Nov 8, 2002 53,708 FR The DataEntry Value is Yes So, only new record ... Upvote 0 Downvote
Aug 2, 2007 Thread starter #5 dpimental Programmer Jul 23, 2002 535 US I changed it to no, here is what happened. If I open it on its own, it starts on the first record, which is what I expect. But, I am trying to oepn it from another form and it still is opening on a new record. This form adds a new record, and I have a different form to edit additional information. David Pimental (US, Oh) Upvote 0 Downvote
I changed it to no, here is what happened. If I open it on its own, it starts on the first record, which is what I expect. But, I am trying to oepn it from another form and it still is opening on a new record. This form adds a new record, and I have a different form to edit additional information. David Pimental (US, Oh)
Aug 2, 2007 #6 bjb123 MIS Nov 14, 2006 37 US Check the DoCmd.OpenForm line that opens that form. perhaps that line includes acFromAdd, forcing it to open in DataEntry mode Upvote 0 Downvote
Check the DoCmd.OpenForm line that opens that form. perhaps that line includes acFromAdd, forcing it to open in DataEntry mode
Aug 2, 2007 #7 Remou Technical User Sep 30, 2002 13,030 BE Have you checked that OrderNo 12 exists? Upvote 0 Downvote
Aug 2, 2007 #8 PHV MIS Nov 8, 2002 53,708 FR I'd try this just before calling OpenForm: DoCmd.RunCommand acCmdSaveRecord Hope This Helps, PH. FAQ219-2884 FAQ181-2886 Upvote 0 Downvote
I'd try this just before calling OpenForm: DoCmd.RunCommand acCmdSaveRecord Hope This Helps, PH. FAQ219-2884 FAQ181-2886