Hi,
As you can probably tell I am new to this forum, I am currently doing a project for my degree (Oracle Backend - VB.net front end). Now I know alot of forums are against helping people like myself as they are normally looking for someone to do the work for them. I on the other hand am not, I just need a little help regarding data grids....
I have a form that contains a data grid, I would ideally like to have a master detail relation between this data grid and the other details on the form, namely populated textboxes etc. But I can't seen to find a source that explains it in a way I understand. I would have though vb.net 2005 would have automated wizards for this?? Anyways I have worked round the problem by having a "Show detail" button. Which although is not ideal, it works. My form details with Jobs and their required skills.
The data grid holds a "JobID, MainSkill, SubSkill" The JobID relates to the master detail on the form and is populated into a textbox. The mainSkill and subskill are a lookup of the skill table I have which contains values such as:
Admin-Reception
Admin-HR
IT-Support Assistant
IT-IT Manager
The problem I have is that I don't know how to auto populate the data grid coulmn "JobID" with the value in the text box for new records created. Also I have set the MainSkill and SubSkill columns to look up the MainSkill and SubSkill vaules for the Skill table, but what I get is a list of duplicate values and then the selected MainSkill does not match that of the SubSkill. Is there a way to have a lookup of values equal to a query?
Many Thanks
As you can probably tell I am new to this forum, I am currently doing a project for my degree (Oracle Backend - VB.net front end). Now I know alot of forums are against helping people like myself as they are normally looking for someone to do the work for them. I on the other hand am not, I just need a little help regarding data grids....
I have a form that contains a data grid, I would ideally like to have a master detail relation between this data grid and the other details on the form, namely populated textboxes etc. But I can't seen to find a source that explains it in a way I understand. I would have though vb.net 2005 would have automated wizards for this?? Anyways I have worked round the problem by having a "Show detail" button. Which although is not ideal, it works. My form details with Jobs and their required skills.
The data grid holds a "JobID, MainSkill, SubSkill" The JobID relates to the master detail on the form and is populated into a textbox. The mainSkill and subskill are a lookup of the skill table I have which contains values such as:
Admin-Reception
Admin-HR
IT-Support Assistant
IT-IT Manager
The problem I have is that I don't know how to auto populate the data grid coulmn "JobID" with the value in the text box for new records created. Also I have set the MainSkill and SubSkill columns to look up the MainSkill and SubSkill vaules for the Skill table, but what I get is a list of duplicate values and then the selected MainSkill does not match that of the SubSkill. Is there a way to have a lookup of values equal to a query?
Many Thanks