Click here to Skip to main content
15,903,012 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: calling exe Pin
Christian Graus19-Jun-08 20:47
protectorChristian Graus19-Jun-08 20:47 
GeneralRe: calling exe Pin
kadkir19-Jun-08 21:55
kadkir19-Jun-08 21:55 
GeneralRe: calling exe Pin
Dave Kreskowiak20-Jun-08 13:15
mveDave Kreskowiak20-Jun-08 13:15 
GeneralRe: calling exe Pin
kadkir20-Jun-08 17:42
kadkir20-Jun-08 17:42 
GeneralRe: calling exe Pin
LloydA11121-Jun-08 15:24
LloydA11121-Jun-08 15:24 
QuestionVB 6.0 & CR9 "Load Report Failed" error 50003 Pin
zomby80200319-Jun-08 19:52
zomby80200319-Jun-08 19:52 
QuestionVB 6.0 & CR9 "Load Report Failed" error 50003 Pin
zomby80200319-Jun-08 19:51
zomby80200319-Jun-08 19:51 
Questionvb6 string truncated Pin
AJ du Plessis19-Jun-08 19:18
AJ du Plessis19-Jun-08 19:18 
Hi guys

I am trying to figure out why the following string is being truncated

<br />
sql = "SELECT Distinct [FundID],[Name],[Code],[Date],[ILDatabase],{fn LEFT([Code],5)},CHARINDEX({fn SUBSTRING([Code],6,1)}, 'R,U,I,C') FROM [Admin].[dbo].[ReconInstructions] A WHERE [Date] Between '" & Format(dtStartDate.Text, "DD MMM YYYY") & "' AND '" & Format(dtEndDate.Text, "DD MMM YYYY") & "' "<br />
    sql = sql & "AND ILDatabase ='ILDB'"<br />
    sql = sql & " ORDER BY({fn LEFT([Code],5)} ,[Date] ,CHARINDEX({fn SUBSTRING([Code],6,1)}, 'R,U,I,C') ASC)"       <br />


What i get when the program runs is this
<br />
"SELECT Distinct [FundID],[Name],[Code],[Date],[ILDatabase],{fn LEFT([Code],5)},CHARINDEX({fn SUBSTRING([Code],6,1)}, 'R,U,I,C') FROM [Admin].[dbo].[ReconInstructions] A WHERE [Date] Between '01 May 2008' AND '01 May 2008' AND ILDatabase ='ILDB' ORDER<br />


The order by part of the string is being truncated. Can anyone tell me why this is happening.
AnswerRe: vb6 string truncated Pin
Christian Graus19-Jun-08 20:10
protectorChristian Graus19-Jun-08 20:10 
GeneralRe: vb6 string truncated Pin
AJ du Plessis19-Jun-08 20:25
AJ du Plessis19-Jun-08 20:25 
QuestionPassing value within form and function VB.NET 2003 Pin
drexler_kk19-Jun-08 16:14
drexler_kk19-Jun-08 16:14 
AnswerRe: Passing value within form and function VB.NET 2003 Pin
Christian Graus19-Jun-08 18:41
protectorChristian Graus19-Jun-08 18:41 
QuestionRe: Passing value within form and function VB.NET 2003 Pin
drexler_kk19-Jun-08 19:31
drexler_kk19-Jun-08 19:31 
Questionhow can i print my form axacly like itself Pin
Nika Asgari19-Jun-08 11:47
Nika Asgari19-Jun-08 11:47 
AnswerRe: how can i print my form axacly like itself Pin
Christian Graus19-Jun-08 12:13
protectorChristian Graus19-Jun-08 12:13 
GeneralRe: how can i print my form axacly like itself Pin
Nika Asgari19-Jun-08 12:18
Nika Asgari19-Jun-08 12:18 
GeneralRe: how can i print my form axacly like itself Pin
Christian Graus19-Jun-08 18:44
protectorChristian Graus19-Jun-08 18:44 
GeneralRe: how can i print my form axacly like itself Pin
Nika Asgari19-Jun-08 22:04
Nika Asgari19-Jun-08 22:04 
AnswerRe: how can i print my form axacly like itself Pin
jzonthemtn19-Jun-08 12:36
jzonthemtn19-Jun-08 12:36 
GeneralRe: how can i print my form axacly like itself Pin
Nika Asgari19-Jun-08 22:08
Nika Asgari19-Jun-08 22:08 
QuestionTrimEnd(..) Pin
iltallman19-Jun-08 11:28
iltallman19-Jun-08 11:28 
AnswerRe: TrimEnd(..) Pin
Christian Graus19-Jun-08 12:14
protectorChristian Graus19-Jun-08 12:14 
Question? - Can I use multiple PPT Interop references Pin
normschaef19-Jun-08 6:52
normschaef19-Jun-08 6:52 
QuestionVBA: From Excel to Outlook Pin
Bienchen19-Jun-08 6:23
Bienchen19-Jun-08 6:23 
QuestionForm Load and Re-load - Slow Pin
Andy20219-Jun-08 6:01
Andy20219-Jun-08 6:01 

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.