Solved

yes/no field with toggle button

Posted on 2008-10-14
4
519 Views
Last Modified: 2012-05-05
I have a field "Closed" this is a yes/no field, which indicate is the work order is closed or open
in the form i use a toggle button for this field, now i would like to change the caption of the toggle button according to the value of the field, is the field value is yes, show toggle button caption as CLOSED
is the field value is NO show toggle caption as OPEN.
i was using the On click event, but it change the caption for all the records
Any idea how to solve this
best regards
0
Comment
Question by:titorober23
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 75
ID: 22713788
If this is a Continuous form or datasheet view ... you won't be able to do this, since there is really just one control.

You might try using Conditional Formatting on one of the fields to indicate this.

mx
0
 

Author Comment

by:titorober23
ID: 22713987
how is the conditional formatting
0
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform) earned 200 total points
ID: 22714020
0
 

Author Comment

by:titorober23
ID: 22714185
This does not work with single view form
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Microsoft Access VBA - allocate a colour 3 72
Ms Access 2010 Setup (Executable file) 4 67
Reoccurring Access Query 24 46
Access 2010: Combo Box Query 5 14
This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question