Results 1 to 4 of 4
  1. #1
    metokushika is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Oct 2011
    Posts
    19

    Question how to make a string appear in a textbox from a click of an image in ms access


    i'm making A point of sale system using ms access. i have a little knowledge about vb programming. i have a set of images which serves as my products. the frame next to it has the item description, the amount and unit price. what i want to do is that once i click on the image, i want the item description to appear on the textbox, on the frame next to it, under "item description" which makes it look like as a receipt. i've done it already but i want the textbox to be enabled=false except that when i try doing it, a pop up message says it will not work unless the setfocus is on it. so what i did is under the properties, i set the "lock" to yes. meaning it will be locked and you can't edit what's in the text box BUT the pop up message still appears. same as the message i've mentioned. any help will do! thanks

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Without seeing your code, I can only guess that you're using the .Text property of the control, which requires focus. If so, use the .Value property instead.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    metokushika is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Oct 2011
    Posts
    19
    thanks a lot!

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Was that it? Happy to help, and welcome to the site by the way!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Click button to open a new image
    By tia in forum Forms
    Replies: 2
    Last Post: 10-10-2011, 11:03 AM
  2. Replies: 2
    Last Post: 10-10-2011, 10:58 AM
  3. On click textbox inserts value back on combobox
    By whitelockben in forum Forms
    Replies: 2
    Last Post: 10-09-2011, 05:23 AM
  4. Replies: 8
    Last Post: 05-26-2011, 09:23 AM
  5. Make text click-able
    By Fifa in forum Access
    Replies: 5
    Last Post: 03-27-2011, 06:44 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