Click here to Skip to main content
15,915,975 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: vb script code Pin
DaveAuld16-Jul-10 3:58
professionalDaveAuld16-Jul-10 3:58 
GeneralRe: vb script code Pin
Eddy Vluggen16-Jul-10 4:49
professionalEddy Vluggen16-Jul-10 4:49 
AnswerRe: vb script code Pin
DaveAuld16-Jul-10 3:38
professionalDaveAuld16-Jul-10 3:38 
AnswerRe: vb script code Pin
DaveAuld16-Jul-10 3:51
professionalDaveAuld16-Jul-10 3:51 
QuestionError 2023 in Range Pin
priyaahh15-Jul-10 19:54
priyaahh15-Jul-10 19:54 
AnswerRe: Error 2023 in Range Pin
DaveAuld16-Jul-10 3:56
professionalDaveAuld16-Jul-10 3:56 
GeneralRe: Error 2023 in Range Pin
priyaahh17-Jul-10 7:08
priyaahh17-Jul-10 7:08 
QuestionData binding Pin
waner michaud15-Jul-10 11:19
waner michaud15-Jul-10 11:19 
Hi,

Please help me this problem

I have these tables:

CommissariatTD(CommissariatID, comm_name,region, DeptID, Deptname)
DepartmentTD(DeptID, region, Deptname)

I have a form that binds to CommissariatTD_view where I do this:

a RegionCombobox with these items(North,south,east,west)

a DepartmentCombobox

CommissariatTD_view datagrid

Here is my problem:

let's say I select a region on the regioncombobox, it loads the record on the grid but on the departmentcombobox, nothing shows. I bind it with departmentbindingsource, selected value is from CommissariatTD_view--DeptID

it should load all departments for that region.

**Note we can have more than one department on a region......
if we have more than one dept. when select a dept. the grid should show only the commissariats for that department and region..


I am missing something now. Please guide me.

Thanks in advance

Best regard..
AnswerRe: Data binding Pin
AnnieMacD15-Jul-10 12:16
AnnieMacD15-Jul-10 12:16 
Questionvb script code Pin
henkbongers15-Jul-10 10:57
henkbongers15-Jul-10 10:57 
AnswerRe: vb script code Pin
DaveAuld15-Jul-10 12:38
professionalDaveAuld15-Jul-10 12:38 
AnswerRe: vb script code Pin
Smithers-Jones16-Jul-10 1:07
Smithers-Jones16-Jul-10 1:07 
QuestionRemove whitespace in front of String element of an Array (vba, excel macro) Pin
TabascoSauce15-Jul-10 6:02
TabascoSauce15-Jul-10 6:02 
AnswerRe: Remove whitespace in front of String element of an Array (vba, excel macro) [modified] Pin
DaveAuld15-Jul-10 6:07
professionalDaveAuld15-Jul-10 6:07 
AnswerRe: Remove whitespace in front of String element of an Array (vba, excel macro) Pin
DaveAuld15-Jul-10 12:25
professionalDaveAuld15-Jul-10 12:25 
GeneralRe: Remove whitespace in front of String element of an Array (vba, excel macro) Pin
Neville Nazerane20-Jul-10 3:00
Neville Nazerane20-Jul-10 3:00 
QuestionHow to Maintain Copy of SortDescriptionCollection After DataGrid Rebind Pin
D.Dubya15-Jul-10 3:36
D.Dubya15-Jul-10 3:36 
QuestionHow to execute SQL Query inside DataSet? Pin
Аslam Iqbal14-Jul-10 10:10
professionalАslam Iqbal14-Jul-10 10:10 
AnswerRe: How to execute SQL Query inside DataSet? Pin
Wayne Gaylard14-Jul-10 20:57
professionalWayne Gaylard14-Jul-10 20:57 
GeneralRe: How to execute SQL Query inside DataSet? Pin
Аslam Iqbal14-Jul-10 21:53
professionalАslam Iqbal14-Jul-10 21:53 
AnswerRe: How to execute SQL Query inside DataSet? [modified] Pin
DaveAuld15-Jul-10 4:04
professionalDaveAuld15-Jul-10 4:04 
QuestionArchive or backup Pin
Ebube14-Jul-10 5:15
Ebube14-Jul-10 5:15 
AnswerRe: Archive or backup Pin
Luc Pattyn14-Jul-10 5:17
sitebuilderLuc Pattyn14-Jul-10 5:17 
GeneralRe: Archive or backup [modified] Pin
Ebube14-Jul-10 6:00
Ebube14-Jul-10 6:00 
GeneralRe: Archive or backup Pin
Luc Pattyn14-Jul-10 6:39
sitebuilderLuc Pattyn14-Jul-10 6:39 

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.