If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#21
|
|||
|
|||
oh sorry lol
I clicked on the rectangle and a red dot appeared...A red highligh bar also appeared over the following line... Me.tester.Visible = True "kabaka" wrote: Say that again... what did you do when you inserted a break? What I meant was click on the left of the module (in the rectangle that runs beside the code - it's offcoloured - if you did it right your line will be highlighted and a big red dot will be beside the line) not insert a "_". That isn't a break point. "Lowrider72" wrote: Ya I know...but you suggested inserting a break so I did and I got that error message "kabaka" wrote: ARRGHHHH!! Loose the "_" after the Then and you'll be good to go. That's throwing off your if. "Lowrider72" wrote: Opps, the one with the error is as follows... Private_Sub cboComboBox_AfterUpdate() If Me.cboComboBox.Value = "Suspect" Then _ Me.tester.Visible = True End If End Sub "Lowrider72" wrote: I wish it was that simple...here is the entire code.. Private_Sub cboComboBox_AfterUpdate() If Me.cboComboBox.Value = "Suspect" Then Me.tester.Visible = True End If End Sub "kabaka" wrote: Post all the code for the entire AfterUpdate() event where you are getting your error. If all that you are missing is an "End if" to get this working, I'll know that I've been at the office too long today and it's time to go home. "Lowrider72" wrote: Compile error: End If without block If "kabaka" wrote: I tried inserting a break after the first line nd it gives me an error message so I know its reading the code. what is the error message? |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
combo question | rob | New Users | 10 | March 21st, 2005 02:05 PM |
Having trouble with multi-select list box in Access | brandelfly | New Users | 4 | February 10th, 2005 07:36 PM |
Can't hide a control on a subform | Fred Parkinson | Using Forms | 3 | September 9th, 2004 05:15 PM |
Requery Combobox | MJ | Running & Setting Up Queries | 7 | May 25th, 2004 11:01 AM |
Combo Box Control - CONTROL tab missing from FORMAT CONTROL dialogue | JE McGimpsey | Worksheet Functions | 0 | March 11th, 2004 06:47 PM |