+ Reply to Thread
Results 1 to 2 of 2

Display Results on Form

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    06-15-2013
    Location
    United States
    MS-Off Ver
    Excel 2016
    Posts
    214

    Display Results on Form

    Hello,

    I'm new to the access world and I'm working on a task right now. I figured out most of of where I have the form calling the query based on user input into four search fields. The part I'm having trouble on is the following:

    I have four Textbox fields on the forum after the search lets call them text1,text2,text3 and text 4. From the query the textboxes need to display the following information:

    text1 needs to display the total amount of rows in the query after the search from column 1

    text2 needs to display the sum of column 2

    text3 needs to display the sum of column 3

    text4 needs to display the last cell in column 4.

    I've tried using Dcount and other functions but I can't get it to work. I'm trying to make this all happen when I click a button after the query search is done. Any suggestions it would be greatly appreciated because I'm really stuck.

    Thanks,
    Trevor

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,190

    Re: Display Results on Form

    make a sum query , say qsSumDAta
    now connect this query to the form .
    assign the text boxes to each field.
    now the sum results will show in the text boxes.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 12-29-2014, 02:46 PM
  2. [SOLVED] Need to display results of any cell when selected in a form?
    By T-Rex19 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-06-2012, 12:30 PM
  3. [SOLVED] Unable to display mail merge results using Preview Results function
    By trandle in forum Word Formatting & General
    Replies: 1
    Last Post: 05-30-2012, 12:29 AM
  4. Show look up results in user form and display warning if overwritting existing entry
    By yapjooleong in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-26-2010, 01:50 PM
  5. Exporting data to online form and retreiving results for display
    By tsunami4892 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-21-2009, 02:38 PM
  6. How do I display module results in a form text box
    By drewship in forum Access Programming / VBA / Macros
    Replies: 5
    Last Post: 08-14-2009, 04:40 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1