Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 152665
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T09:39:51+00:00 2026-05-11T09:39:51+00:00

I have a relatively simple Continuous Form. There is an invisible Check Box, let’s

  • 0

I have a relatively simple Continuous Form. There is an invisible Check Box, let’s call it Frank.

There is second Check Box (Ralph) which may be True or False. There’s also a text box with a date (RalphDate).

If Frank is True, I don’t want the user to be able to change Ralph or RalphDate, regardless of what is already there.

Now, RalphDate is easy in that I just use a Conditional Format to check the value of Frank which either enables or disables RalphDate. This option is not available for a Check Box.

I’m now stuck, because using some Visual Basic sets the state of all the Ralph boxes the same based on the value of the first Frank value it comes across. The question therefore, is how do I disable only the associated Ralph Check Box based on the Frank Check Box being True?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T09:39:52+00:00Added an answer on May 11, 2026 at 9:39 am

    Solution 1

    • Update the Locked property instead of Enabled for ckRalph.
    • do that in the OnCurrent() event handler for the form.

    The Locked property will prevent changes without visual cue. This should take care of the functional part, even though visually the checkbox will still look enabled, it can’t be changed.

    Solution 2

    Another way is to simulate the checkbox by doing this:

    • use a textbox, call it fakeckRalph; make it a small square.
    • make its record source property something like ‘=getstate()‘
    • create a getstate function that does something like:

      Public Function GetState() as string     GetState = iif(ckRalph, 'V', ' ') End Function 

    I suggest using a symbol font and a character to make the tick appear better in its box.
    So now, if your Ralph is true, the checkbox will display the tick and if not, it will be empty.

    To complete the trick, use conditional formatting on the textbox to disabled it when Franck is true.
    To make the clicking more realistic, also change the cursor to the hand pointer.

    The last things that’s needed is to wire the the OnClick event from our fakeckRalph textbox so that we can toggle the state of Ralph and display it properly:

    Private Sub OnClick()     Ralph = Not Ralph     fakeckRalph.Requery End Sub 

    I’ve user similar techniques to show whether a record on a continuous form was locked (used a blue colour padlock symbol from one of the Windings fonts) or deletable, with a big red cross that could be clicked:

    image 2 http://img9.imageshack.us/img9/6296/sshot2do5.png image 1 http://img8.imageshack.us/img8/4997/sshot1ya5.png

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 85k
  • Answers 85k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer SVN with Siteminder has been implemented and is working now.… May 11, 2026 at 5:06 pm
  • Editorial Team
    Editorial Team added an answer The only good reason to keep table/entities in the same… May 11, 2026 at 5:06 pm
  • Editorial Team
    Editorial Team added an answer I believe jquery gives you a way to grab their… May 11, 2026 at 5:06 pm

Related Questions

I have a relatively simple Continuous Form. There is an invisible Check Box, let's
I have a relatively simple site that I'm working up for an intranet environment.
I have a relatively simple form which asks a variety of questions. One of
I have a relatively simple select statement in a VB6 program that I have
I have a relatively simple Lucene index, being served by Solr. The index consists

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.