Consulting

Results 1 to 3 of 3

Thread: Need Assistance with Coding in Access

  1. #1
    VBAX Newbie
    Joined
    Jul 2018
    Posts
    1
    Location

    Need Assistance with Coding in Access

    Hello, brand new to coding and VBA. My tutor is out for the night, and I was hoping to get some friendly help with a question I have. I'm working on

    Given the following code snippet, add the required statements to accumulate the sales_amt column of data and display the total to a message box with the appropriate label and formatting.

    I need to write my statements below but indicate what statement# they precede or follow:

    1 rst.MoveFirst
    2 Do While rst.EOF = False
    3 debug.print rst!CustName
    4 debug.print rst!Sales_Amt
    5 rst.MoveNext
    6 Loop


    I appreciate the help!

  2. #2
    VBAX Guru
    Joined
    Mar 2005
    Posts
    3,296
    Location
    Sorry, I do not do people's homework for them.
    What do you think the code should look like?

  3. #3
    I agree with OBP.
    ttfn

    Kicker

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •