Updating

mithani

Registered User.
Local time
Tomorrow, 07:30
Joined
May 11, 2007
Messages
291
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
 
You will need to write the macro to Open an Update query
 
thanks ted.

I would appreciate if you could give me any example code.

thanks man

mithani
 
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
 

Users who are viewing this thread

Back
Top Bottom