Click here to Skip to main content
15,885,985 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: FK constraint error when filling parent adaptor with parameterized stored procedure Pin
tcd6722-Jul-09 9:53
tcd6722-Jul-09 9:53 
QuestionSubroutine Pin
abcurl21-Jul-09 6:23
abcurl21-Jul-09 6:23 
AnswerRe: Subroutine Pin
Dave Kreskowiak21-Jul-09 8:27
mveDave Kreskowiak21-Jul-09 8:27 
AnswerRe: Subroutine Pin
Christian Graus21-Jul-09 10:22
protectorChristian Graus21-Jul-09 10:22 
AnswerRe: Subroutine Pin
EliottA22-Jul-09 6:07
EliottA22-Jul-09 6:07 
GeneralRe: Subroutine Pin
DoctorMick22-Jul-09 6:22
DoctorMick22-Jul-09 6:22 
QuestionVBA Loop Problem Pin
Dalek Dave21-Jul-09 5:23
professionalDalek Dave21-Jul-09 5:23 
AnswerRe: VBA Loop Problem Pin
DoctorMick21-Jul-09 5:45
DoctorMick21-Jul-09 5:45 
Do you need a loop at all?

In the accept button click can you not increment a counter and set the array value of that position to the textbox then clear the form. Once you have hit accept more than the required number of times you can close the form or whatever you need to do, i.e.

Private intJobBreakCounter As Integer
Public Sub btnAccept_Click()
  intJobBreakCounter = intJobBreakCounter + 1
  arrJobBreak(intJobBreakCounter) = TextBoxJobBreakHeader.Value
  TextBoxJobBreakHeader.Value = ""

  If intJobBreakCounter >= intJobBreaks
    'Do whatever you need to do
  End If

  'If you haven't reached the max counter yet the form will still be displayed and the user can enter a new value.
End Sub

GeneralRe: VBA Loop Problem Pin
Dalek Dave21-Jul-09 6:01
professionalDalek Dave21-Jul-09 6:01 
AnswerRe: VBA Loop Problem Pin
Luc Pattyn21-Jul-09 5:47
sitebuilderLuc Pattyn21-Jul-09 5:47 
GeneralRe: VBA Loop Problem Pin
Dalek Dave21-Jul-09 6:02
professionalDalek Dave21-Jul-09 6:02 
GeneralRe: VBA Loop Problem Pin
Luc Pattyn21-Jul-09 6:09
sitebuilderLuc Pattyn21-Jul-09 6:09 
GeneralRe: VBA Loop Problem Pin
Dalek Dave21-Jul-09 23:33
professionalDalek Dave21-Jul-09 23:33 
QuestionText copy Pin
subdeery21-Jul-09 2:12
subdeery21-Jul-09 2:12 
AnswerRe: Text copy Pin
Tino121-Jul-09 3:35
Tino121-Jul-09 3:35 
GeneralRe: Text copy Pin
subdeery21-Jul-09 4:17
subdeery21-Jul-09 4:17 
GeneralRe: Text copy Pin
mypicturefaded21-Jul-09 7:52
mypicturefaded21-Jul-09 7:52 
AnswerRe: Text copy Pin
subdeery22-Jul-09 2:04
subdeery22-Jul-09 2:04 
QuestionFilling an Array Pin
Dalek Dave21-Jul-09 1:33
professionalDalek Dave21-Jul-09 1:33 
AnswerRe: Filling an Array Pin
Ashfield21-Jul-09 2:15
Ashfield21-Jul-09 2:15 
GeneralRe: Filling an Array Pin
Dalek Dave21-Jul-09 3:03
professionalDalek Dave21-Jul-09 3:03 
GeneralRe: Filling an Array Pin
Ashfield21-Jul-09 4:43
Ashfield21-Jul-09 4:43 
GeneralRe: Filling an Array Pin
Luc Pattyn21-Jul-09 5:12
sitebuilderLuc Pattyn21-Jul-09 5:12 
GeneralRe: Filling an Array Pin
Ashfield21-Jul-09 8:23
Ashfield21-Jul-09 8:23 
QuestionShockwave Object in VB.NET 2005 form Pin
hrishiS21-Jul-09 1:32
hrishiS21-Jul-09 1:32 

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.