Click here to Skip to main content
15,914,594 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Manipulating ListBoxes in MS Access/VBA Pin
reegan4114-Jun-07 6:05
reegan4114-Jun-07 6:05 
Its weird though, If I put Message Boxes throughout the code, everytime I click, it actually does fire the AfterUpdate() event.

For example, I placed a MsgBox inside the loop but outside the if statement to check to see if the loop is working: MsgBox "loop works".

Then I placed a MsgBox inside the if statement: MsgBox "if works"

Then I placed a MsgBox inside the event, but after the loop executes: MsgBox "post loop works"

I get "loop works" and "post loop works" to come up, but not "if works".

So its having troubles verifying my selected item. There are two Selected properties (one in Access, and one in MSForms). The default one when I write my code seems to come up with the Access Selected version. The thing I think is the issue here is, this returns a Long value...you would think Boolean. However, the MSForms version of Selected under a ListBox returns a Boolean...I just can't figure out how to call that version of it. It seems to always call the Access version.

With this extra information, do you have any ideas? Thanks again Dave.
GeneralRe: Manipulating ListBoxes in MS Access/VBA Pin
Dave Kreskowiak14-Jun-07 6:13
mveDave Kreskowiak14-Jun-07 6:13 
GeneralRe: Manipulating ListBoxes in MS Access/VBA Pin
reegan4114-Jun-07 7:06
reegan4114-Jun-07 7:06 
GeneralRe: Manipulating ListBoxes in MS Access/VBA Pin
reegan4114-Jun-07 7:18
reegan4114-Jun-07 7:18 
GeneralRe: Manipulating ListBoxes in MS Access/VBA Pin
Dave Kreskowiak14-Jun-07 8:18
mveDave Kreskowiak14-Jun-07 8:18 
GeneralRe: Manipulating ListBoxes in MS Access/VBA Pin
reegan4114-Jun-07 9:05
reegan4114-Jun-07 9:05 
QuestionHow to ristrict a Windows form to Single instance Pin
pashitech14-Jun-07 4:04
pashitech14-Jun-07 4:04 
AnswerRe: How to ristrict a Windows form to Single instance Pin
Dave Kreskowiak14-Jun-07 5:52
mveDave Kreskowiak14-Jun-07 5:52 
QuestionDeveloping a Keylogger Pin
akatsa14-Jun-07 3:49
akatsa14-Jun-07 3:49 
AnswerRe: Developing a Keylogger Pin
Colin Angus Mackay14-Jun-07 4:52
Colin Angus Mackay14-Jun-07 4:52 
AnswerRe: Developing a Keylogger Pin
Dave Kreskowiak14-Jun-07 5:48
mveDave Kreskowiak14-Jun-07 5:48 
GeneralRe: Developing a Keylogger Pin
MatrixCoder14-Jun-07 9:24
MatrixCoder14-Jun-07 9:24 
GeneralRe: Developing a Keylogger Pin
Dave Kreskowiak14-Jun-07 9:42
mveDave Kreskowiak14-Jun-07 9:42 
Questioncodes samples Pin
ekpeno14-Jun-07 3:38
ekpeno14-Jun-07 3:38 
AnswerRe: codes samples Pin
leckey14-Jun-07 4:08
leckey14-Jun-07 4:08 
AnswerRe: codes samples Pin
Pualee14-Jun-07 6:27
Pualee14-Jun-07 6:27 
QuestionHow to set 100 checkbox enable property according to values in a textfile ? Pin
anpm14-Jun-07 3:36
anpm14-Jun-07 3:36 
GeneralRe: How to set 100 checkbox enable property according to values in a textfile ? Pin
reegan4114-Jun-07 4:19
reegan4114-Jun-07 4:19 
GeneralRe: How to set 100 checkbox enable property according to values in a textfile ? Pin
anpm14-Jun-07 4:28
anpm14-Jun-07 4:28 
AnswerRe: How to set 100 checkbox enable property according to values in a textfile ? Pin
reegan4114-Jun-07 6:50
reegan4114-Jun-07 6:50 
QuestionRe: How to set 100 checkbox enable property according to values in a textfile ? Pin
anpm14-Jun-07 14:03
anpm14-Jun-07 14:03 
AnswerRe: How to set 100 checkbox enable property according to values in a textfile ? Pin
Benjamin Liedblad14-Jun-07 16:49
Benjamin Liedblad14-Jun-07 16:49 
GeneralRe: How to set 100 checkbox enable property according to values in a textfile ? Pin
anpm15-Jun-07 16:37
anpm15-Jun-07 16:37 
AnswerRe: How to set 100 checkbox enable property according to values in a textfile ? Pin
Tom Deketelaere14-Jun-07 21:44
professionalTom Deketelaere14-Jun-07 21:44 
QuestionImport Csv file to Access Pin
Vimalsoft(Pty) Ltd14-Jun-07 2:06
professionalVimalsoft(Pty) Ltd14-Jun-07 2:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.