Click here to Skip to main content
15,889,335 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Save a multiline text on sql server Pin
satc30-Jul-15 2:55
satc30-Jul-15 2:55 
GeneralRe: Save a multiline text on sql server Pin
Wendelius29-Jul-15 2:00
mentorWendelius29-Jul-15 2:00 
AnswerRe: Save a multiline text on sql server Pin
Mycroft Holmes29-Jul-15 14:40
professionalMycroft Holmes29-Jul-15 14:40 
Questionprogress bar, percent complete Pin
jkirkerx28-Jul-15 10:16
professionaljkirkerx28-Jul-15 10:16 
AnswerRe: progress bar, percent complete Pin
Eddy Vluggen28-Jul-15 11:42
professionalEddy Vluggen28-Jul-15 11:42 
AnswerRe: progress bar, percent complete Pin
Ross Pickard28-Jul-15 12:04
Ross Pickard28-Jul-15 12:04 
AnswerRe: progress bar, percent complete Pin
jkirkerx30-Jul-15 13:27
professionaljkirkerx30-Jul-15 13:27 
QuestionListOf, check for existing value first Pin
jkirkerx28-Jul-15 9:31
professionaljkirkerx28-Jul-15 9:31 
I create a class to use in List(of class)
Then I'm populating the class with item names.

I wrote this, but I'm still getting duplicate value, so I got it wrong somewhere.
Dim reader As System.Data.OleDb.OleDbDataReader = command.ExecuteReader()
            While reader.Read()

                Dim m_itemNumber As String = reader.GetValue(0)
                If Not p.Contains(New itemIndex() With {.ItemNumber = m_itemNumber}) Then

                    p.Add(New itemIndex() With
                    {
                        .ItemNumber = reader.GetValue(0)
                    })

                End If

            End While

Maybe I got it wrong in the SQL
" SELECT " & _
        " DISTINCT FITEMNO " & _
        " FROM " & _
        "( " & _
        "   SELECT " & _
        "   h.FITEMNO " & _
        "   FROM ARTRS01H.dbf h " & _
        "   WHERE h.FINVNO = @FINVNO " & _
        "   UNION ALL " & _
        "   SELECT " & _
        "   v.FITEMNO " & _
        "   FROM ARTRS01.dbf v " & _
        "   WHERE v.FINVNO = @FINVNO " & _
        ") " & _
        " GROUP BY FITEMNO "

Answer[solved] Pin
jkirkerx28-Jul-15 10:47
professionaljkirkerx28-Jul-15 10:47 
QuestionIs there any library to compare 2 sql server databases ? Pin
satc27-Jul-15 0:49
satc27-Jul-15 0:49 
AnswerRe: Is there any library to compare 2 sql server databases ? Pin
Wendelius27-Jul-15 0:58
mentorWendelius27-Jul-15 0:58 
GeneralRe: Is there any library to compare 2 sql server databases ? Pin
satc27-Jul-15 1:09
satc27-Jul-15 1:09 
GeneralRe: Is there any library to compare 2 sql server databases ? Pin
Wendelius27-Jul-15 1:47
mentorWendelius27-Jul-15 1:47 
AnswerRe: Is there any library to compare 2 sql server databases ? Pin
Chris Quinn27-Jul-15 2:12
Chris Quinn27-Jul-15 2:12 
GeneralRe: Is there any library to compare 2 sql server databases ? Pin
satc27-Jul-15 2:43
satc27-Jul-15 2:43 
GeneralRe: Is there any library to compare 2 sql server databases ? Pin
Chris Quinn27-Jul-15 3:59
Chris Quinn27-Jul-15 3:59 
GeneralRe: Is there any library to compare 2 sql server databases ? Pin
satc27-Jul-15 4:07
satc27-Jul-15 4:07 
GeneralRe: Is there any library to compare 2 sql server databases ? Pin
Sascha Lefèvre27-Jul-15 4:31
professionalSascha Lefèvre27-Jul-15 4:31 
GeneralRe: Is there any library to compare 2 sql server databases ? Pin
satc27-Jul-15 19:48
satc27-Jul-15 19:48 
QuestionCrazy ODBCDataReader Pin
Marcus Genovese24-Jul-15 4:12
Marcus Genovese24-Jul-15 4:12 
AnswerRe: Crazy ODBCDataReader Pin
Richard Deeming24-Jul-15 4:49
mveRichard Deeming24-Jul-15 4:49 
GeneralRe: Crazy ODBCDataReader Pin
Marcus Genovese24-Jul-15 5:25
Marcus Genovese24-Jul-15 5:25 
QuestionHow to write Worksheet Change Event in Visual Studio 2010??? Pin
Member 1184098123-Jul-15 21:27
Member 1184098123-Jul-15 21:27 
QuestionOracleDataReader GetChars method only buffering half the characters Pin
Aaron Rosenthal22-Jul-15 12:48
Aaron Rosenthal22-Jul-15 12:48 
AnswerRe: OracleDataReader GetChars method only buffering half the characters Pin
Eddy Vluggen22-Jul-15 23:33
professionalEddy Vluggen22-Jul-15 23:33 

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.