mithani Registered User. Local time Tomorrow, 10:40 Joined May 11, 2007 Messages 291 Jul 3, 2007 #1 Friends, I want to create macro to update my table. How i will referene my form and field in macro. update dailytable set recNo = 1 where fileno = form????.fileno(field)??? thanks mithani
Friends, I want to create macro to update my table. How i will referene my form and field in macro. update dailytable set recNo = 1 where fileno = form????.fileno(field)??? thanks mithani
ted.martin Registered User. Local time Today, 23:40 Joined Sep 24, 2004 Messages 743 Jul 3, 2007 #2 You will need to write the macro to Open an Update query
mithani Registered User. Local time Tomorrow, 10:40 Joined May 11, 2007 Messages 291 Jul 3, 2007 #3 thanks ted. I would appreciate if you could give me any example code. thanks man mithani
mithani Registered User. Local time Tomorrow, 10:40 Joined May 11, 2007 Messages 291 Jul 4, 2007 #4 hi I have tried this code: update tblInvoiceParent set receivedInvoice = -1 where InvoiceNo =Forms!invoiceEntry!comPurchaseOrderNo But updating next record. For example I want to update invoice number 1012, macro will update 1013. Any idea. thanks
hi I have tried this code: update tblInvoiceParent set receivedInvoice = -1 where InvoiceNo =Forms!invoiceEntry!comPurchaseOrderNo But updating next record. For example I want to update invoice number 1012, macro will update 1013. Any idea. thanks
mithani Registered User. Local time Tomorrow, 10:40 Joined May 11, 2007 Messages 291 Jul 4, 2007 #5 don't worry man, i fixed it.