Click here to Skip to main content
15,902,032 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to add 3 IF conditions at VB Pin
Richard MacCutchan11-Mar-19 22:16
mveRichard MacCutchan11-Mar-19 22:16 
QuestionRead a messages in vb.net, itry to create a script that can read a sms if someone reply to your text via gsm modem. Pin
jhane Harvest9-Mar-19 19:32
jhane Harvest9-Mar-19 19:32 
SuggestionRe: Read a messages in vb.net, itry to create a script that can read a sms if someone reply to your text via gsm modem. Pin
Richard MacCutchan9-Mar-19 21:50
mveRichard MacCutchan9-Mar-19 21:50 
SuggestionRe: Read a messages in vb.net, itry to create a script that can read a sms if someone reply to your text via gsm modem. Pin
Ralf Meier10-Mar-19 22:13
mveRalf Meier10-Mar-19 22:13 
GeneralRe: Read a messages in vb.net, itry to create a script that can read a sms if someone reply to your text via gsm modem. Pin
jhane Harvest10-Mar-19 22:28
jhane Harvest10-Mar-19 22:28 
SuggestionRe: Read a messages in vb.net, itry to create a script that can read a sms if someone reply to your text via gsm modem. Pin
Ralf Meier11-Mar-19 1:17
mveRalf Meier11-Mar-19 1:17 
GeneralRe: Read a messages in vb.net, itry to create a script that can read a sms if someone reply to your text via gsm modem. Pin
jhane Harvest11-Mar-19 14:46
jhane Harvest11-Mar-19 14:46 
QuestionSyntax Error (Missing Operation) in query expression Pin
RedPandinus9-Mar-19 5:47
RedPandinus9-Mar-19 5:47 
Hello guys,

What is wrong at below code? I have 3 tables at Access with using INNER JOIN

Private Sub RetrieveData(Optional ByVal blnSearch As Boolean = False)
        strSQL = " SELECT tblContact.ContactPK, tblContact.Fullname, tblContact.Nickname, tblContact.Mobile, " &
                    " tblContact.Phone, tblContact.eMail, tblContact.FacebookID, tblContact.PictureName, tblContact.Note, tblContact.Mobil, tblContact.Area" &
                    " tblPosition.PositionName, tblDepartment.DepartmentName, tblArea.Areaname " &
                    " FROM [tblPosition] INNER JOIN [tblDepartment] INNER JOIN (tblArea INNER JOIN tblContact ON " &
                    " tblDepartment.DepartmentPK = tblContact.DepartmentFK) ON tblPosition.PositionPK = tblContact.PositionFK ON tblArea.AreaPK = tblContact.Area "

        '// blnSearch = True for Search
        If blnSearch Then
            strSQL = strSQL &
                " WHERE " &
                " [Fullname] " & " Like '%" & txtSearch.Text & "%'" & " OR " &
                " [Nickname] " & " Like '%" & txtSearch.Text & "%'" & " OR " &
                " [PositionName] " & " Like '%" & txtSearch.Text & "%'" & " OR " &
                " [DepartmentName] " & " Like '%" & txtSearch.Text & "%'" & " OR " &
                " [Mobile] " & " Like '%" & txtSearch.Text & "%'" & " OR " &
                " [Phone] " & " Like '%" & txtSearch.Text & "%'" & " OR " &
                " [eMail] " & " Like '%" & txtSearch.Text & "%'" & " OR " &
                " [FaceBookID] " & " Like '%" & txtSearch.Text & "%'" &
                " [Mobil] " & " Like '%" & txtSearch.Text & "%'" & " OR " &
                " [Area] " & " Like '%" & txtSearch.Text & "%'" & " OR " &
                " ORDER BY ContactPK "
        Else
            strSQL = strSQL & " ORDER BY ContactPK "

AnswerRe: Syntax Error (Missing Operation) in query expression Pin
Gerry Schmitz9-Mar-19 11:02
mveGerry Schmitz9-Mar-19 11:02 
GeneralRe: Syntax Error (Missing Operation) in query expression Pin
RedPandinus9-Mar-19 11:11
RedPandinus9-Mar-19 11:11 
GeneralRe: Syntax Error (Missing Operation) in query expression Pin
Mycroft Holmes9-Mar-19 11:40
professionalMycroft Holmes9-Mar-19 11:40 
AnswerRe: Syntax Error (Missing Operation) in query expression Pin
Richard Deeming11-Mar-19 9:27
mveRichard Deeming11-Mar-19 9:27 
AnswerRe: Syntax Error (Missing Operation) in query expression Pin
Mycroft Holmes11-Mar-19 11:37
professionalMycroft Holmes11-Mar-19 11:37 
GeneralRe: Syntax Error (Missing Operation) in query expression Pin
RedPandinus12-Mar-19 9:04
RedPandinus12-Mar-19 9:04 
QuestionType conversion in VB.NET Pin
Revolution Radio9-Mar-19 3:03
Revolution Radio9-Mar-19 3:03 
QuestionRe: Type conversion in VB.NET Pin
Richard MacCutchan9-Mar-19 4:14
mveRichard MacCutchan9-Mar-19 4:14 
AnswerRe: Type conversion in VB.NET Pin
Revolution Radio9-Mar-19 5:22
Revolution Radio9-Mar-19 5:22 
GeneralRe: Type conversion in VB.NET Pin
Richard MacCutchan9-Mar-19 6:36
mveRichard MacCutchan9-Mar-19 6:36 
GeneralRe: Type conversion in VB.NET Pin
Revolution Radio11-Mar-19 0:43
Revolution Radio11-Mar-19 0:43 
QuestionQuestion for fetching the data from table Pin
Member 141728245-Mar-19 23:01
Member 141728245-Mar-19 23:01 
AnswerRe: Question for fetching the data from table Pin
CHill607-Mar-19 1:46
mveCHill607-Mar-19 1:46 
AnswerRe: Question for fetching the data from table Pin
Richard MacCutchan7-Mar-19 1:52
mveRichard MacCutchan7-Mar-19 1:52 
QuestionTrying to set caret at correct offset: CLOSED Pin
mo149228-Feb-19 7:58
mo149228-Feb-19 7:58 
QuestionSystem.Data.OLEDB, my OLEDB connection stopped working in Win10 X64 Pin
jkirkerx26-Feb-19 7:47
professionaljkirkerx26-Feb-19 7:47 
AnswerTried some more things Pin
jkirkerx26-Feb-19 8:27
professionaljkirkerx26-Feb-19 8:27 

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.