Results 1 to 4 of 4
  1. #1
    Niki is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Apr 2011
    Posts
    32

    Easy Button Question

    I am trying to set up a POS system using Access. It's been a while since I've messed around in Access and I can't even recall how to set up the formula for the button to show anything in, say, List 53. I've been trying On Mouse Up List 53 = 1.75, just to see if "1.75" shows up in List 53 and nothing shows up.

    I need intensive remedial help! =)

    Thanks!

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows XP Access 2003
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,610
    It's not clear to me what you are asking. The most commonly use event with a button is it's On Click Event.
    What is List 53, and what do you want to do with it?
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    Niki is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Apr 2011
    Posts
    32
    On Click I would like List 53 (a List Box) to show $1.75

  4. #4
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows XP Access 2003
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,610
    If List 53 is unbound and it's Row Source Type property is set to Value List, try this line of code:

    Code:
    Me.
    [List 53].RowSource = "$1.75;"
    in the on click event of the button. (In the form's code module)

    This should all be on one line. Not as formatted above.
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

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

Similar Threads

  1. Easy question
    By fyes in forum Programming
    Replies: 1
    Last Post: 12-20-2011, 12:08 AM
  2. Probably a very easy question
    By Ext1jdh in forum Queries
    Replies: 4
    Last Post: 08-02-2011, 12:26 PM
  3. Easy Question Need Help With
    By jdusaf in forum Access
    Replies: 1
    Last Post: 03-23-2011, 11:33 AM
  4. Easy question
    By Danzig in forum Access
    Replies: 11
    Last Post: 10-28-2010, 06:48 PM
  5. cmd button probs- easy fix..help
    By burgicide in forum Forms
    Replies: 4
    Last Post: 11-20-2008, 03:28 PM

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