Results 1 to 5 of 5

Thread: Continuous form checkbox & textbox

Threaded View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2003
    Location
    Argentina
    Posts
    1,950

    Resolved Continuous form checkbox & textbox

    On a continuous form in Access 2000, there is a checkbox and a textbox. When I click the checkbox, I want the associated textbox to change backcolor to red. (this is actually a problem I'm trying to solve for a co-worker) However, it changes all the textboxes to red (there could be 1 - 50 check & textboxes). Of course, there's only one in design mode. The code goes like this:
    Code:
    if me!chkQT.checked then
       me!txtQT.backcolor = lngRed
    else
       me!txtQT.Backcolor = lngWhite
    end if
    How can I get just the one textbox to change color? Thanks.
    Last edited by salvelinus; Dec 10th, 2004 at 08:38 AM.
    Tengo mas preguntas que contestas

Posting Permissions

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



Click Here to Expand Forum to Full Width