>Hi all,
>
>Is there another way to do this?
>
>if pnTipoPrcTer=1
>this.parent.LinPrUnit.Value=artigos.n_pvp1
>endif
>if pnTipoPrcTer=2
>this.parent.LinPrUnit.Value=artigos.n_pvp2
>endif...
what about
this.parent.LinPrUnit.value = eval("artigos.n_pvp"+allt(str(pnTipoPrcTer)))
...Y soy feliz, bien feliz, asi lo grito;
Mira, que el mundo sepa, que se sepa:
Soy feliz....
...And I'm happy, quite happy, so do I yell it;
Look, so the world knows it, so be known:
I'm happy...
Ismael Rivera "Oye cosita linda"
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only