Click here to Skip to main content
15,922,325 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Common Language Runtime Debugging Services(error) Pin
Mazitan12-Dec-05 14:38
Mazitan12-Dec-05 14:38 
GeneralRe: Common Language Runtime Debugging Services(error) Pin
Steve Pullan12-Dec-05 14:58
Steve Pullan12-Dec-05 14:58 
GeneralRe: Common Language Runtime Debugging Services(error) Pin
Mazitan12-Dec-05 15:06
Mazitan12-Dec-05 15:06 
GeneralRe: Common Language Runtime Debugging Services(error) Pin
Steve Pullan12-Dec-05 18:57
Steve Pullan12-Dec-05 18:57 
GeneralRe: Common Language Runtime Debugging Services(error) Pin
Mazitan13-Dec-05 15:09
Mazitan13-Dec-05 15:09 
GeneralRe: Common Language Runtime Debugging Services(error) Pin
Steve Pullan13-Dec-05 15:24
Steve Pullan13-Dec-05 15:24 
GeneralRe: Common Language Runtime Debugging Services(error) Pin
Mazitan14-Dec-05 10:23
Mazitan14-Dec-05 10:23 
Questiondatagrid Pin
ktpeterson11-Dec-05 13:49
ktpeterson11-Dec-05 13:49 
Am using a datagrid for display in VB6. When clicking the row, I want to fill three textboxes with data from the three columns; col1, col2, col3. The problem is that the first click on the datagrid fills the textboxes with the data from row 1. the second click fills the boxes with the data from the previous box. If a double click is used, the correct data is filled into the text boxes.

I am using a sql to open the database and select the fields: sSql = "SELECT fld1, fld2, fld3 from tblmine WHERE fld1 = '" & datagrid1.text * "'". This is in the datagrid's _click sub.

How to have the textboxes filled on the first click?

Thanks,Confused | :confused:

-- modified at 19:49 Sunday 11th December, 2005
AnswerRe: datagrid Pin
Polymorpher11-Dec-05 18:07
Polymorpher11-Dec-05 18:07 
GeneralRe: datagrid Pin
ktpeterson12-Dec-05 2:35
ktpeterson12-Dec-05 2:35 
GeneralRe: datagrid Pin
Polymorpher13-Dec-05 15:31
Polymorpher13-Dec-05 15:31 
GeneralRe: datagrid Pin
ktpeterson14-Dec-05 3:06
ktpeterson14-Dec-05 3:06 
QuestionSQL - SSIS - .net code to compress files Pin
scottstewart10-Dec-05 20:20
scottstewart10-Dec-05 20:20 
Questionvb.net extracting the first letter of a string Pin
culbysl10-Dec-05 11:20
culbysl10-Dec-05 11:20 
AnswerRe: vb.net extracting the first letter of a string Pin
[Marc]10-Dec-05 13:52
[Marc]10-Dec-05 13:52 
AnswerRe: vb.net extracting the first letter of a string Pin
Dave Doknjas10-Dec-05 15:04
Dave Doknjas10-Dec-05 15:04 
GeneralRe: vb.net extracting the first letter of a string Pin
Dave Doknjas10-Dec-05 16:10
Dave Doknjas10-Dec-05 16:10 
AnswerRe: vb.net extracting the first letter of a string Pin
culbysl11-Dec-05 5:10
culbysl11-Dec-05 5:10 
Questionsecurity exception Pin
ibigpapa10-Dec-05 9:56
ibigpapa10-Dec-05 9:56 
AnswerRe: security exception Pin
Dave Kreskowiak11-Dec-05 3:32
mveDave Kreskowiak11-Dec-05 3:32 
GeneralRe: security exception Pin
ibigpapa11-Dec-05 6:05
ibigpapa11-Dec-05 6:05 
QuestionVb.Net MDI Back Image Pin
FireOnMoon10-Dec-05 7:21
FireOnMoon10-Dec-05 7:21 
AnswerRe: Vb.Net MDI Back Image Pin
Dave Kreskowiak11-Dec-05 3:29
mveDave Kreskowiak11-Dec-05 3:29 
QuestionError icon in datagrid Pin
oakleaf10-Dec-05 4:21
oakleaf10-Dec-05 4:21 
QuestionMerging files Pin
elms10-Dec-05 3:01
elms10-Dec-05 3: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.