| | |
Form control evaluation question
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Nov 2008
Posts: 3
Reputation:
Solved Threads: 0
I just have a formatting question. Looked everywhere and can't find a straight yes or no answer.
I have a user input form - (Continous forms-in Access 2003, based on a query, using vba 6.5) that has a checkbox which is used to denote whether the user wants an english or spanish version of a product. It looks like checked condition True = Spanish, checked condition False (the Default condition) = English. If the user clicks the checkbox, a spanish product is ordered. Easy-peazy.
However my dilemma is that the checkbox shows up on the form with every record (and since it is a continous form it should). I know this control in a continous form display is actually the same control iterated and displayed with every record and it is supposed to do this. I think I remember how to accomplish this in a report.
In an access FORM however, is there any way to make this control visible (no label involved) only if a validation has occurred within the value of another control within each record ? I may only use it 20 times, and it shows up 250 times. Seems redundant.
Logically it would look something like -
If control.name.value = "correctcondition" then checkbox.visible = True or something to that effect.
I just wondered if it could be accomplished on a form like you can on a report ?
I appreciate your help and await a response.
-anwswrtek
I have a user input form - (Continous forms-in Access 2003, based on a query, using vba 6.5) that has a checkbox which is used to denote whether the user wants an english or spanish version of a product. It looks like checked condition True = Spanish, checked condition False (the Default condition) = English. If the user clicks the checkbox, a spanish product is ordered. Easy-peazy.
However my dilemma is that the checkbox shows up on the form with every record (and since it is a continous form it should). I know this control in a continous form display is actually the same control iterated and displayed with every record and it is supposed to do this. I think I remember how to accomplish this in a report.
In an access FORM however, is there any way to make this control visible (no label involved) only if a validation has occurred within the value of another control within each record ? I may only use it 20 times, and it shows up 250 times. Seems redundant.
Logically it would look something like -
If control.name.value = "correctcondition" then checkbox.visible = True or something to that effect.
I just wondered if it could be accomplished on a form like you can on a report ?
I appreciate your help and await a response.
-anwswrtek
![]() |
Similar Threads
- Help with automatic update problem and more (Viruses, Spyware and other Nasties)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Dynamic create and delete Access database at runtime.......
- Next Thread: current data show in datagrid
| Thread Tools | Search this Thread |
Tag cloud for Visual Basic 4 / 5 / 6
* 6 429 2007 access activex add age append application basic beginner birth bmp calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver subroutine table tags textbox time timer urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





