StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Business Objects and Data Access (How do I?)
»
Populate Comboboxwith dependency of code product
Populate Comboboxwith dependency of code product
Post Reply
Like
0
Populate Comboboxwith dependency of code product
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Rafael
Rafael
posted 17 Years Ago
ANSWER
HOT
Topic Details
Share Topic
Group: Forum Members
Posts: 48,
Visits: 216
How population combobox with dependency of code product.
Select * from Produto where code_product = textbox_code_product
Reply
Like
0
Reply
Dustin Taylor
Dustin Taylor
posted 17 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Users
Posts: 364,
Visits: 771
I'm not sure I understand the question... but I'll give it a shot
.
Are you trying to pull back all the records that match the selected value of your combo box?
MyBO.FillDataTable("SELECT * FROM Table WHERE code_product = " & cbo_Product.SelectedValue)
(I wouldn't recommend hard coding it in the FillDataTable like that, but it gives you a start)
Or are you trying to populate the combo box itself with all the records associated with a given code? If so, then just add a fill method to your BO that corresponds to your select statement, and call that method in your combo's PopulationDataSourceSettings.
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Populate Comboboxwith dependency of code product
Rafael
-
17 Years Ago
I'm not sure I understand the question... but I'll give it a shot ;)....
Dustin Taylor
-
17 Years Ago
I tried to use the code below [code]private void prj_cod_Leave(object...
Rafael
-
17 Years Ago
Well I am not totally certain what you are trying to do. But let's...
Trent L. Taylor
-
17 Years Ago
I searched in the forum but I did not obtain to develop. It could send...
Rafael
-
17 Years Ago
Rafael, these are only some links about ListPopulating event:...
Ivan George Borges
-
17 Years Ago
I tried to make equal in it I finish topic passed for the Ivan but he...
Rafael
-
17 Years Ago
I forgot myself to place the image of the configuration of combobox
Rafael
-
17 Years Ago
These images are of the same component combobox I need value...
Rafael
-
17 Years Ago
Hi Rafael, I noticed you have this code: [codesnippet]private void...
Edhy Rijo
-
17 Years Ago
yes, but my probleman is no this. I modified my code for [quote]...
Rafael
-
17 Years Ago
Rafael, I think that you are inadvertantly making a very simple task...
Trent L. Taylor
-
17 Years Ago
I have a Example ! Eu preciso population a comboBox1 com o valor da...
Rafael
-
17 Years Ago
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search