I created a view and a Business object for it. So I Drag a Business Object named CtaReceber to my form to bind the text box.
Until here is perfect the work, So I drag other BO named CtaReceberView that have the following code:
Select ctareceber.CtaReceberId, ctareceber.CtareceberNum,
ctareceber.CtaReceberParcela, ctareceber.CtaReceberTotParcela,
ctareceber.CtaReceberDtVcmto, ctareceber.CtaReceberNossoNumero,
clientes.clientesnome, portadores.PortadoresDescricao
From ctareceber
LEFT JOIN clientes on ctareceber.clientesId = clientes.ClientesId
LEFT JOIN portadores on ctareceber.PortadoresId = portadores.PortadoresId;
The Dialog Form is perfect but I dont know how to receive the Key from Browse Dialog to Navigated my first BO to position Chosed by Browse Dialog. So I Tryed:
private void browseDialog1_BrowseDialogClosed(MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialogClosedEventArgs e)
{
int _pk = searchCtaReceberBO1.CtaReceberId;
if (ctaReceberBO1.SeekToPrimaryKey(searchCtaReceberBO1.CtaReceberId))
ctaReceberBO1.NavigateToPrimaryKey(searchCtaReceberBO1.CtaReceberId);
}
But th result don´t work and I need a lot to do this in whole my system.
If somebody Know to do, Please help-me!
I have a urgency about this.
at,
Marcio Valerio
at,
Marcio Valerio da Silva