Click here to Skip to main content
15,901,284 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: how to insert the data in data grid ? Pin
Jaydeanster13-Mar-05 19:50
Jaydeanster13-Mar-05 19:50 
GeneralPlease help me! ::cries:: Pin
Kc Martinez12-Mar-05 22:47
Kc Martinez12-Mar-05 22:47 
GeneralRe: Please help me! ::cries:: Pin
Dave Kreskowiak14-Mar-05 1:27
mveDave Kreskowiak14-Mar-05 1:27 
GeneralRe: Please help me! ::cries:: Pin
14-Mar-05 9:52
suss14-Mar-05 9:52 
Generalrestore mysql database in vb .net Pin
heeheelim12-Mar-05 22:16
sussheeheelim12-Mar-05 22:16 
GeneralRe: restore mysql database in vb .net Pin
Colin Angus Mackay13-Mar-05 3:41
Colin Angus Mackay13-Mar-05 3:41 
GeneralHide TabPage Pin
Mohamed Ishak12-Mar-05 22:06
professionalMohamed Ishak12-Mar-05 22:06 
GeneralMoving to a Specific Record Pin
Capilano12-Mar-05 16:41
Capilano12-Mar-05 16:41 
On my main form is a series of text controls which are bound to a datasource (Ds1). Also on the form is a datagrid which is bound to a different datasource (Ds2). All works well.

Ds1 and Ds2 look to the same information Table (T1) and contain the exact same records. Ds2 differs, however, in that it Ds2 looks to a joined query of T1 and another Table (T2).

Question:

If I select a row from the datagrid, I want the appropriate record to appear on the main form. How can I do this?

If both the Text boxes and the Datagrid had the same underlying recordsource, the desired result would automatically occur. However, since I have two datasources, it does not happen automatically

In my code, I have successfully identified the unique counter field in T1. All I need to do is filter Ds1 or somehow move to the appropriate record on the main form.

Would I employ a data filter (e.g. Dataview)? There is NO need to clear and then re-fill Ds1 because the record is already part of the recordset. I just want to move to it on the main form.

You help and advice is greatly appreciated.

Pat
GeneralRe: Moving to a Specific Record Pin
Mohamed Ishak12-Mar-05 19:16
professionalMohamed Ishak12-Mar-05 19:16 
QuestionFileToString? StringToFile? Pin
12-Mar-05 8:18
suss12-Mar-05 8:18 
AnswerRe: FileToString? StringToFile? Pin
Shawn200012-Mar-05 8:48
Shawn200012-Mar-05 8:48 
GeneralRe: FileToString? StringToFile? Pin
charleslau285512-Mar-05 9:30
charleslau285512-Mar-05 9:30 
GeneralRe: FileToString? StringToFile? Pin
j45mw12-Mar-05 17:08
j45mw12-Mar-05 17:08 
GeneralRe: FileToString? StringToFile? Pin
charleslau285513-Mar-05 1:33
charleslau285513-Mar-05 1:33 
GeneralRe: FileToString? StringToFile? Pin
j1webb13-Mar-05 5:57
j1webb13-Mar-05 5:57 
Generalsilent install Pin
charleslau285512-Mar-05 8:03
charleslau285512-Mar-05 8:03 
GeneralRe: silent install Pin
Dave Kreskowiak14-Mar-05 1:22
mveDave Kreskowiak14-Mar-05 1:22 
Questionhow to communicate with a web site Pin
Mohsen Saad12-Mar-05 6:50
Mohsen Saad12-Mar-05 6:50 
AnswerRe: how to communicate with a web site Pin
Ghazi H. Wadi12-Mar-05 7:34
Ghazi H. Wadi12-Mar-05 7:34 
QuestionKeep aspect ratio whilst stretching to fit? Pin
Shawn200012-Mar-05 5:40
Shawn200012-Mar-05 5:40 
GeneralBuild an application to install font Pin
Mekong River12-Mar-05 4:51
Mekong River12-Mar-05 4:51 
GeneralRe: Build an application to install font Pin
j1webb13-Mar-05 5:35
j1webb13-Mar-05 5:35 
GeneralRe: Build an application to install font Pin
Mekong River13-Mar-05 14:12
Mekong River13-Mar-05 14:12 
GeneralStepper Motor Controlling throug Parallel Port Using Visual Basic 6.0 Pin
Shaikhoo12-Mar-05 1:26
Shaikhoo12-Mar-05 1:26 
GeneralRe: Stepper Motor Controlling throug Parallel Port Using Visual Basic 6.0 Pin
Dave Kreskowiak14-Mar-05 1:14
mveDave Kreskowiak14-Mar-05 1:14 

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.