Results 1 to 2 of 2

Vba

  1. #1
    Perfac's Avatar
    Perfac is offline Expert
    Windows 7 64bit Access 2016
    Join Date
    May 2016
    Location
    Centurion Pretoria
    Posts
    618

    Vba

    On the attached database, goto form f02JournalSub. Look at the second Journal, the line Discount Received, it should calculate VAT. On the VBA page, the first event. Me!VatCr05 = Me!ExclVatCr05 * Me!Vat05b

    In the query the two fields that are multiplied with one another shows values. I may miss something obvious. After updating ExclVatCr05 it does not show a value in VatCr05.


    Click image for larger version. 

Name:	Roberta Vinci.png 
Views:	19 
Size:	28.7 KB 
ID:	35890
    Attached Files Attached Files

  2. #2
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Well, not all of the records have a value in Vat05b, so multiplying anything times 0 results in 0.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums