L
Laban Twissel
Hi! Happy new year!
I'm facing a strange problem!
I use ACCESS 2002 with an ACCESS 2000 mdb file.
I've got a bouton named btn, and here is the code corresponding to the
OnClick event :
Private Sub btn_Click()
Me.btn.Caption = "Process is running" Line1
Me.btn.BackColor = 65535 Line2
Call Procedure1 Line3
Me.btn.Caption = "Process is completed" Line4
Me.btn.BackColor = 16777164 Line5
End Sub
Procedure1 takes a few seconds to execute.
The problem is that the code on line1 and line2 is not executed, unless I
put a stop point on line2 and line3 !! If I only put a stop point on line2,
then the code on line1 executes well but not that code on line2.
I don't know if a kind of "pause" function could be of interest, anyway I
couldn't find one in Visual Basic's help.
Please help me, I'm just about to throw my computer out of the window !
Thanks for it (the computer), and sorry for my approximative english.
Laban.
--
I'm facing a strange problem!
I use ACCESS 2002 with an ACCESS 2000 mdb file.
I've got a bouton named btn, and here is the code corresponding to the
OnClick event :
Private Sub btn_Click()
Me.btn.Caption = "Process is running" Line1
Me.btn.BackColor = 65535 Line2
Call Procedure1 Line3
Me.btn.Caption = "Process is completed" Line4
Me.btn.BackColor = 16777164 Line5
End Sub
Procedure1 takes a few seconds to execute.
The problem is that the code on line1 and line2 is not executed, unless I
put a stop point on line2 and line3 !! If I only put a stop point on line2,
then the code on line1 executes well but not that code on line2.
I don't know if a kind of "pause" function could be of interest, anyway I
couldn't find one in Visual Basic's help.
Please help me, I'm just about to throw my computer out of the window !
Thanks for it (the computer), and sorry for my approximative english.
Laban.
--