Search results

  1. J

    DoCmd.RunSQL to update record calculating values from that record

    While I can't disagree - this is a working database that I can't (for risks to the business) make wholesale changes to the format. Some of what you say couldn't work (but the majority is fair). From where I am here and now though was hoping that if a more generic piece of code: DoCmd.RunSQL...
  2. J

    DoCmd.RunSQL to update record calculating values from that record

    I can't deny that there is almost certainly a lot of that - come from a spreadsheet background. And a fair bit of VBA. The deal record table has lines for each "deal" that we do. Each of these deals can be invoiced to both a buyer and a seller. Then when invoice there is an invoice created to a...
  3. J

    DoCmd.RunSQL to update record calculating values from that record

    Below is a line of code that trying to use... DoCmd.RunSQL "Update [Deal Record] SET [Seller - Balance Paid]=" & ((([Seller - Invoice Amount] + [Seller - Swiss VAT]) / InvoiceAmountAfterVAT) * (Me.AlreadyPaid + Me.PaymentAmount)) & " WHERE [Seller - Invoice Reference]='" & Me.InvoiceNumber &...
Back
Top Bottom