Please don't worry, you will get used to it soon
![Smile :)](./images/smilies/icon_e_smile.gif)
This is coding style of Roberto : incredibly simple and incredibly efficient
![Surprised :o](./images/smilies/icon_e_surprised.gif)
Viva HMG, Viva Roberto
![Exclamation :!:](./images/smilies/icon_exclaim.gif)
Saludos
--
Esgici
Moderator: Rathinagiri
And this is coding style of Esgici also ...esgici wrote:....
This is coding style of Roberto : incredibly simple and incredibly efficient![]()
Code: Select all
Function Def_Excluir()
if MsgYesNo("Deseja excluir o registro corrente?",cTITLE)
DEFINICAO->(DBGoto(Definicao.Browse_1.Value))
While(DEFINICAO->(!RLOCK()))
enddo
DEFINICAO->(DBDelete())
DEFINICAO->(DBUnlock())
Definicao.Browse_1.Refresh()
MsgInfo(" Concluido! ",cTITLE)
endif
Return Nil
Could you be so kind to post a complete sample?Vanguarda wrote:Hi Friends,
Master, I have a Browse Control, and when i delete the first record and try refresh it, the Browse not Refreshing...
See my little source bellow
What´s going on?! where i missed?Code: Select all
Function Def_Excluir() if MsgYesNo("Deseja excluir o registro corrente?",cTITLE) DEFINICAO->(DBGoto(Definicao.Browse_1.Value)) While(DEFINICAO->(!RLOCK())) enddo DEFINICAO->(DBDelete()) DEFINICAO->(DBUnlock()) Definicao.Browse_1.Refresh() MsgInfo(" Concluido! ",cTITLE) endif Return Nil
With best regards,
I've created a complete sample and verified.Vanguarda wrote: Master, I have a Browse Control, and when i delete the first record and try refresh it, the Browse not Refreshing...
Hi master,Roberto Lopez wrote:Could you be so kind to post a complete sample?Vanguarda wrote:Hi Friends,
Master, I have a Browse Control, and when i delete the first record and try refresh it, the Browse not Refreshing...
See my little source bellow
What´s going on?! where i missed?Code: Select all
Function Def_Excluir() if MsgYesNo("Deseja excluir o registro corrente?",cTITLE) DEFINICAO->(DBGoto(Definicao.Browse_1.Value)) While(DEFINICAO->(!RLOCK())) enddo DEFINICAO->(DBDelete()) DEFINICAO->(DBUnlock()) Definicao.Browse_1.Refresh() MsgInfo(" Concluido! ",cTITLE) endif Return Nil
With best regards,
the problem arises only in 2.9.3 forum test?
TIA.
Regards,
Roberto.