| | | Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: Today @ 8:39:16 AM Posts: 619, Visits: 2,552 |
| | Juan Carlos, All you need to understand here is how the relation between the 3 tables works, then in the Combobox.SelectedIndexChanged you have to check the ParentBO.Count > 0, so if there is a record, then you can sent the ParentBO.PKFieldValue to the first parameter e.Parameters(0).Value = Me.ParentBO.PKFieldValue. In the Categories Combobox SelectedIndexChanged use this code: If Me.CategoriasPubBO.Count > 0 Then e.Parameters(0).Value = Me.CategoriasPubBO.YourPKFieldNameHereElse e.Parameters(0).Value = 0 End IfAlso I believe it is better to use sample with your real entities name, even if it is in Spanish, this way it will make more sense when posting real code .
|
| | | | 
StrataFrame Novice
       
Group: StrataFrame Users Last Login: 09/23/2008 12:35:43 AM Posts: 76, Visits: 135 |
| | Hi Edjy Thanks for all your support. I still trying. If your have some simple sample, will be very good? I think that in the ListPopulating should go the: If Me.DetalleSubcategoriasBO.Count > 0 Thene.Parameters(0).Value = Me.DetalleSubcategoriasBO.IdStioElsee.Parameters(0).Value = 0 End IfAnd in the SelectedIndexChanged the Requery() Regards.
Everything is possible, just keep trying... |
| | | | 
StrataFrame Novice
       
Group: StrataFrame Users Last Login: 09/23/2008 12:35:43 AM Posts: 76, Visits: 135 |
| | Hi All solved. Thanks a lot for your help.
Everything is possible, just keep trying... |
| | | | Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: Today @ 8:39:16 AM Posts: 619, Visits: 2,552 |
| | | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Today @ 8:51:57 AM Posts: 4,557, Visits: 4,544 |
| Good stuff Good answers, Edhy! |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Today @ 8:51:57 AM Posts: 4,557, Visits: 4,544 |
| Better yet, if you could post a sample versus my brain having to do the compiling and execution that would be great |
| |
|
|