| | | Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: Yesterday @ 8:48:41 PM Posts: 714, Visits: 3,004 |
| | 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: 11/17/2008 11:49:36 PM Posts: 86, Visits: 150 |
| | 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: 11/17/2008 11:49:36 PM Posts: 86, Visits: 150 |
| | Hi All solved. Thanks a lot for your help.
Everything is possible, just keep trying... |
| | | | Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: Yesterday @ 8:48:41 PM Posts: 714, Visits: 3,004 |
| | | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Yesterday @ 7:08:30 PM Posts: 4,811, Visits: 4,781 |
| Good stuff Good answers, Edhy! |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Yesterday @ 7:08:30 PM Posts: 4,811, Visits: 4,781 |
| Better yet, if you could post a sample versus my brain having to do the compiling and execution that would be great |
| |
|
|