Click here to Skip to main content
16,005,141 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to find form with tag??? Pin
FeRtoll14-Mar-07 11:25
FeRtoll14-Mar-07 11:25 
AnswerRe: How to find form with tag??? Pin
Christian Graus14-Mar-07 12:11
protectorChristian Graus14-Mar-07 12:11 
AnswerRe: How to find form with tag??? Pin
Dave Kreskowiak14-Mar-07 12:16
mveDave Kreskowiak14-Mar-07 12:16 
AnswerRe: How to find form with tag??? Pin
FeRtoll14-Mar-07 12:20
FeRtoll14-Mar-07 12:20 
GeneralRe: How to find form with tag??? Pin
Dave Kreskowiak14-Mar-07 13:21
mveDave Kreskowiak14-Mar-07 13:21 
GeneralRe: How to find form with tag??? Pin
FeRtoll15-Mar-07 3:19
FeRtoll15-Mar-07 3:19 
GeneralRe: How to find form with tag??? Pin
Dave Kreskowiak15-Mar-07 9:02
mveDave Kreskowiak15-Mar-07 9:02 
QuestionArrays Pin
Larry White14-Mar-07 11:17
Larry White14-Mar-07 11:17 
I am trying to create an order form for my users. The form has a listbox where the user selects multiple names and it populates a textbox for user confirmation. The selection process also creates an array used to create a SQL database record for each name in the list. This part works. Here is the code I have so far:
Sub xxx
        reader1 = dr1.ExecuteReader()
        While reader1.Read()
            values1.Add(reader1.Item("Name"))
            values2.Add(reader1.Item("Emplid"))
        End While
        lbName.DataSource = values1
        lbEmplid.DataSource = values2
End Sub
Sub xxx
        rtbName.Text = Nothing
        rtbEmplid.Text = Nothing
        For i = 0 To lbName.SelectedItems.Count - 1
            With arrList2
                .ToArray()
            End With
            rtbName.Text = rtbName.Text & lbName.SelectedItems(i) & vbCrLf
        Next
        i = Nothing

The problem I'm running into is, I need to collect the Emplid along with the name. I'm trying to set it up by selecting only the name with the Emplid selected at the same time. I can combine the two within the SQL statement, but I need to populate each field of the database entry separately.

Any help would be greatly appreciated.Smile | :)

Thank you,

LWhite

AnswerRe: Arrays Pin
Christian Graus14-Mar-07 12:13
protectorChristian Graus14-Mar-07 12:13 
GeneralRe: Arrays Pin
Larry White15-Mar-07 7:04
Larry White15-Mar-07 7:04 
QuestionControl box question Pin
harveyhanson14-Mar-07 10:30
harveyhanson14-Mar-07 10:30 
AnswerRe: Control box question Pin
M-Hall14-Mar-07 10:34
M-Hall14-Mar-07 10:34 
GeneralRe: Control box question Pin
harveyhanson14-Mar-07 10:47
harveyhanson14-Mar-07 10:47 
GeneralRe: Control box question Pin
M-Hall14-Mar-07 10:51
M-Hall14-Mar-07 10:51 
QuestionElseIf question Pin
harveyhanson14-Mar-07 10:06
harveyhanson14-Mar-07 10:06 
AnswerRe: ElseIf question Pin
Christian Graus14-Mar-07 10:10
protectorChristian Graus14-Mar-07 10:10 
GeneralRe: ElseIf question Pin
harveyhanson14-Mar-07 10:31
harveyhanson14-Mar-07 10:31 
Questionsave Pin
jds120714-Mar-07 10:05
jds120714-Mar-07 10:05 
AnswerRe: save Pin
Christian Graus14-Mar-07 10:11
protectorChristian Graus14-Mar-07 10:11 
GeneralRe: save Pin
jds120714-Mar-07 10:28
jds120714-Mar-07 10:28 
GeneralRe: save Pin
M-Hall14-Mar-07 10:47
M-Hall14-Mar-07 10:47 
GeneralRe: save Pin
The ANZAC14-Mar-07 11:14
The ANZAC14-Mar-07 11:14 
QuestionUsing Oracle SQL Loader in VB.Net Pin
theKlause14-Mar-07 10:01
theKlause14-Mar-07 10:01 
Questionsyntax error Pin
harveyhanson14-Mar-07 9:45
harveyhanson14-Mar-07 9:45 
AnswerRe: syntax error Pin
Christian Graus14-Mar-07 9:50
protectorChristian Graus14-Mar-07 9:50 

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.