Click here to Skip to main content
16,006,535 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Passing values frm form to from VB@005 Pin
Solly743-Aug-06 13:23
Solly743-Aug-06 13:23 
GeneralRe: Passing values frm form to from VB@005 Pin
Stephen McGuire3-Aug-06 13:32
Stephen McGuire3-Aug-06 13:32 
GeneralRe: Passing values frm form to from VB@005 Pin
Solly743-Aug-06 13:34
Solly743-Aug-06 13:34 
GeneralRe: Passing values frm form to from VB@005 Pin
Stephen McGuire3-Aug-06 13:55
Stephen McGuire3-Aug-06 13:55 
GeneralRe: Passing values frm form to from VB@005 Pin
Solly743-Aug-06 14:17
Solly743-Aug-06 14:17 
GeneralRe: Passing values frm form to from VB@005 Pin
Stephen McGuire3-Aug-06 14:34
Stephen McGuire3-Aug-06 14:34 
GeneralRe: Passing values frm form to from VB@005 Pin
Solly743-Aug-06 14:55
Solly743-Aug-06 14:55 
GeneralRe: Passing values frm form to from VB@005 [modified] Pin
Stephen McGuire3-Aug-06 15:13
Stephen McGuire3-Aug-06 15:13 
Absolutely. The data is there in the dataset.
Just get the record ID from the grid row clicked.
Use something like:

SelectedRow = myGrid.CurrentCell.RowNumber
RecordID = myGrid.Item(SelectedRow, ColumnIndex)

Where 'ColumnIndex' is the index of the column containing the unique ID of the record. Then use that value in your query for the form.
Depending on how your form is set up, you could just find the record in the dataset and set your form's BindingContext to that position.

I don't mean to sound like an over-bearing parent but, if you had given that detailed explanation earlier, we could have got to this point much quicker!

Well, I'm sure you can make something high level out of that?
For example:
Use structured error handling to catch concurrency errors and resolve errors by utilising code that conforms to business rules...etc

Steve



-- modified at 21:14 Thursday 3rd August, 2006
GeneralRe: Passing values frm form to from VB@005 Pin
Solly743-Aug-06 15:15
Solly743-Aug-06 15:15 
GeneralRe: Passing values frm form to from VB@005 Pin
Stephen McGuire3-Aug-06 15:25
Stephen McGuire3-Aug-06 15:25 
QuestionHow do you keep a form within a MDI form Pin
directred3-Aug-06 4:52
directred3-Aug-06 4:52 
AnswerRe: How do you keep a form within a MDI form Pin
Stephen McGuire3-Aug-06 11:58
Stephen McGuire3-Aug-06 11:58 
QuestionHelp with login screen Pin
matjame3-Aug-06 4:27
matjame3-Aug-06 4:27 
AnswerRe: Help with login screen Pin
Colin Angus Mackay3-Aug-06 11:51
Colin Angus Mackay3-Aug-06 11:51 
QuestionRe: Help with login screen Pin
matjame3-Aug-06 21:17
matjame3-Aug-06 21:17 
AnswerRe: Help with login screen Pin
Colin Angus Mackay4-Aug-06 7:35
Colin Angus Mackay4-Aug-06 7:35 
Questionhelp Pin
metrazaman3-Aug-06 3:36
metrazaman3-Aug-06 3:36 
GeneralRe: help Pin
Guffa3-Aug-06 12:17
Guffa3-Aug-06 12:17 
QuestionScrollBar Pin
microuser_20003-Aug-06 3:13
microuser_20003-Aug-06 3:13 
AnswerRe: ScrollBar Pin
Dave Kreskowiak3-Aug-06 5:14
mveDave Kreskowiak3-Aug-06 5:14 
GeneralRe: ScrollBar Pin
microuser_20003-Aug-06 12:20
microuser_20003-Aug-06 12:20 
GeneralRe: ScrollBar Pin
Stephen McGuire3-Aug-06 13:58
Stephen McGuire3-Aug-06 13:58 
GeneralRe: ScrollBar Pin
Dave Kreskowiak3-Aug-06 15:04
mveDave Kreskowiak3-Aug-06 15:04 
GeneralRe: ScrollBar Pin
Stephen McGuire3-Aug-06 15:19
Stephen McGuire3-Aug-06 15:19 
GeneralRe: ScrollBar Pin
Dave Kreskowiak4-Aug-06 1:59
mveDave Kreskowiak4-Aug-06 1:59 

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.