Click here to Skip to main content
15,887,175 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
dilkonika19-Apr-15 4:54
dilkonika19-Apr-15 4:54 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. PinPopular
Dave Kreskowiak19-Apr-15 5:26
mveDave Kreskowiak19-Apr-15 5:26 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
dilkonika19-Apr-15 5:30
dilkonika19-Apr-15 5:30 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
Richard MacCutchan19-Apr-15 6:59
mveRichard MacCutchan19-Apr-15 6:59 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. PinPopular
Dave Kreskowiak19-Apr-15 5:20
mveDave Kreskowiak19-Apr-15 5:20 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
dilkonika19-Apr-15 5:28
dilkonika19-Apr-15 5:28 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
Dave Kreskowiak19-Apr-15 5:35
mveDave Kreskowiak19-Apr-15 5:35 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
dilkonika19-Apr-15 5:54
dilkonika19-Apr-15 5:54 
Ok , I give you some additional details :

I'm using the form to edit , create and modify records form a database.
The button for which I'm talking has all the necessary code to test the new record created by user , and if the test is done without problems , the new record is saved. But this button can test and save records one by one ( so if a user create a new record , he should press the button before create another ).

Now , I have added a new function in my form : Copy paste records.
So the user can select one ( or several ) existing records , and press copy on the right click menu.
When a copy is made , a list is created that contains all the records that are copied and should be pasted.

for the Paste actions , I have this For..next loop.
But the records that are copied , should be pasted one by one.
So a new record is created that is a copy of the first element on the copy-list.
At this point , the loop should stop , and user can make the changes needed for this copy and after should press the button to do the actions needed and to save this record.
After the loop can continue with the same logic for the other records.

This is all.
Can you give me a new idea ?
Thank you !

GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
Simon_Whale20-Apr-15 3:41
Simon_Whale20-Apr-15 3:41 
AnswerRe: Continue to next step in a for..next loop only when the user press a button. Pin
Richard Deeming20-Apr-15 3:02
mveRichard Deeming20-Apr-15 3:02 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
dilkonika20-Apr-15 12:24
dilkonika20-Apr-15 12:24 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
Dave Kreskowiak20-Apr-15 16:03
mveDave Kreskowiak20-Apr-15 16:03 
RantRe: Continue to next step in a for..next loop only when the user press a button. Pin
Richard Deeming21-Apr-15 2:12
mveRichard Deeming21-Apr-15 2:12 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
dilkonika21-Apr-15 6:07
dilkonika21-Apr-15 6:07 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
Richard Deeming21-Apr-15 6:33
mveRichard Deeming21-Apr-15 6:33 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
dilkonika21-Apr-15 7:28
dilkonika21-Apr-15 7:28 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
Eddy Vluggen21-Apr-15 9:15
professionalEddy Vluggen21-Apr-15 9:15 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
Eddy Vluggen21-Apr-15 6:34
professionalEddy Vluggen21-Apr-15 6:34 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
Sascha Lefèvre25-May-15 17:06
professionalSascha Lefèvre25-May-15 17:06 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
Eddy Vluggen26-May-15 3:12
professionalEddy Vluggen26-May-15 3:12 
Questionvb.net to vb6 convertion Pin
hitu4u06716-Apr-15 23:04
hitu4u06716-Apr-15 23:04 
AnswerRe: vb.net to vb6 convertion Pin
Dave Kreskowiak17-Apr-15 2:31
mveDave Kreskowiak17-Apr-15 2:31 
GeneralRe: vb.net to vb6 convertion Pin
Sascha Lefèvre17-Apr-15 2:46
professionalSascha Lefèvre17-Apr-15 2:46 
GeneralRe: vb.net to vb6 convertion Pin
Dave Kreskowiak17-Apr-15 3:56
mveDave Kreskowiak17-Apr-15 3:56 
SuggestionRe: vb.net to vb6 convertion Pin
Richard Deeming17-Apr-15 2:47
mveRichard Deeming17-Apr-15 2:47 

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.