Click here to Skip to main content
15,906,816 members
Home / Discussions / Database
   

Database

 
AnswerRe: Datatable insert Problem [2.0] Pin
ventomito26-Nov-05 6:42
ventomito26-Nov-05 6:42 
Questionuser instance login flag Pin
Lebanese25-Nov-05 1:35
Lebanese25-Nov-05 1:35 
AnswerRe: user instance login flag Pin
enjoycrack26-Nov-05 8:36
enjoycrack26-Nov-05 8:36 
GeneralRe: user instance login flag Pin
Lebanese27-Nov-05 20:21
Lebanese27-Nov-05 20:21 
GeneralRe: user instance login flag Pin
enjoycrack27-Nov-05 20:35
enjoycrack27-Nov-05 20:35 
GeneralRe: user instance login flag Pin
Lebanese27-Nov-05 22:42
Lebanese27-Nov-05 22:42 
QuestionReporting Services Pin
mipooo24-Nov-05 22:01
mipooo24-Nov-05 22:01 
QuestionA Slightly Different Master Detail Problem Pin
TofuBug2424-Nov-05 20:20
TofuBug2424-Nov-05 20:20 
Now before anyone sends me links to any articles here on CP or else where on master/detail solutions i've already looked at them and none of them show me what i want to do.

I have a very simple database with two tables one holds a collection of jobs with basic field info for each plus a ClientID field to link each job to a specific Client.

the client table has all the detailed info about each client in the table it's primary key obviously being ClientID;

now my program consists of:

a DataGrid showing all jobs scheduled for the current day (i always use stored procedures this one pulls everything based on records matching a date i submit)

a bunch of textbox controls one for each column in the Client table.

now all the master detail articles i have read would list all the clients in one table and clicking on one would update the details table with all the jobs for that client.

what I want to do is when a user clicks on a specific job in the datatable the textboxes will be updated to reflect the correct Client's details for that specific job.

my stored procedure to get a specific clients details uses the current rows clientID of the job table.

now the first job i select and the textboxes work. when i select any other jobs the text boxes never change.

what am i doing wrong and could anyone point me in the right direction.

thanks



Ryan

-- modified at 2:20 Friday 25th November, 2005
Questionusing the osql command Pin
dundealing24-Nov-05 8:40
dundealing24-Nov-05 8:40 
AnswerRe: using the osql command Pin
Rob Graham24-Nov-05 15:16
Rob Graham24-Nov-05 15:16 
AnswerRe: using the osql command Pin
Arjan Einbu25-Nov-05 12:57
Arjan Einbu25-Nov-05 12:57 
GeneralRe: using the osql command Pin
dundealing27-Nov-05 6:51
dundealing27-Nov-05 6:51 
AnswerRe: using the osql command Pin
Arjan Einbu27-Nov-05 23:03
Arjan Einbu27-Nov-05 23:03 
Questionmanaged or unmanaged Pin
John L. DeVito24-Nov-05 6:10
professionalJohn L. DeVito24-Nov-05 6:10 
AnswerRe: managed or unmanaged Pin
Mike Dimmick24-Nov-05 12:54
Mike Dimmick24-Nov-05 12:54 
QuestionmySQL 4.0 vs mySQL 5.0 Pin
JKallen24-Nov-05 6:00
JKallen24-Nov-05 6:00 
QuestionSQL Convertion of 0 Pin
Brendan Vogt23-Nov-05 2:19
Brendan Vogt23-Nov-05 2:19 
AnswerRe: SQL Convertion of 0 Pin
ToddHileHoffer23-Nov-05 2:23
ToddHileHoffer23-Nov-05 2:23 
GeneralRe: SQL Convertion of 0 Pin
Not Active23-Nov-05 10:22
mentorNot Active23-Nov-05 10:22 
QuestionRe: SQL Convertion of 0 Pin
Brendan Vogt23-Nov-05 20:24
Brendan Vogt23-Nov-05 20:24 
QuestionRe: SQL Convertion of 0 Pin
Brendan Vogt23-Nov-05 20:41
Brendan Vogt23-Nov-05 20:41 
QuestionPrinting "Yes" /"No" from sql 0/1? Pin
majidbhutta23-Nov-05 1:42
majidbhutta23-Nov-05 1:42 
AnswerRe: Printing "Yes" /"No" from sql 0/1? Pin
ToddHileHoffer23-Nov-05 2:22
ToddHileHoffer23-Nov-05 2:22 
QuestionConverting datetime to Desired format? Pin
majidbhutta23-Nov-05 1:32
majidbhutta23-Nov-05 1:32 
AnswerRe: Converting datetime to Desired format? Pin
ToddHileHoffer23-Nov-05 2:21
ToddHileHoffer23-Nov-05 2:21 

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.