ted.martin
02-04-2009, 01:22 AM
I have a continuous form running in Access 2007 that shows a summary list of various quotations. Double-clicking on any of these opens the full details but when the details close, the following code runs to place the focus on the original record when the form is Activated again.
docmd.requery ' this is there to catch any updates in the details record.
DoCmd.SearchForRecord acDataForm, "F-Quotations Summary", acFirst, "[QuotationNo] = " & intQuotation
My problem is, the DoCmd.SearchForRecord code in Access 2007 and does not run on Access 2003. Does anyone know an Access 2003 solution? I know that removing the docmd.requery will fix it but I really need the requery to run.
thanks
docmd.requery ' this is there to catch any updates in the details record.
DoCmd.SearchForRecord acDataForm, "F-Quotations Summary", acFirst, "[QuotationNo] = " & intQuotation
My problem is, the DoCmd.SearchForRecord code in Access 2007 and does not run on Access 2003. Does anyone know an Access 2003 solution? I know that removing the docmd.requery will fix it but I really need the requery to run.
thanks