Page 2 of 2

Re: HMG 2.9.3 (Forum Test II)

Posted: Thu Jul 16, 2009 2:50 am
by esgici
Hola Walter

Please don't worry, you will get used to it soon :)

This is coding style of Roberto : incredibly simple and incredibly efficient :o

Viva HMG, Viva Roberto :!:

Saludos

--

Esgici

Re: HMG 2.9.3 (Forum Test II)

Posted: Thu Jul 16, 2009 2:55 am
by sudip
esgici wrote:....
This is coding style of Roberto : incredibly simple and incredibly efficient :o
And this is coding style of Esgici also ... :lol:
Hello Master Roberto,
Thank you very much for this excellent software tool :)
With best regards.
Sudip

Re: HMG 2.9.3 (Forum Test II)

Posted: Fri Jul 17, 2009 12:10 am
by Vanguarda
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

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  
What´s going on?! where i missed?



With best regards,

Re: HMG 2.9.3 (Forum Test II)

Posted: Fri Jul 17, 2009 3:22 am
by Roberto Lopez
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

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  
What´s going on?! where i missed?



With best regards,
Could you be so kind to post a complete sample?

the problem arises only in 2.9.3 forum test?

TIA.

Regards,

Roberto.

Re: HMG 2.9.3 (Forum Test II)

Posted: Fri Jul 17, 2009 1:38 pm
by Roberto Lopez
Vanguarda wrote: Master, I have a Browse Control, and when i delete the first record and try refresh it, the Browse not Refreshing...
I've created a complete sample and verified.

This is a problem with refresh method.

I'll fix it ASAP.

Thanks for reporting.

Regards,

Roberto.

Re: HMG 2.9.3 (Forum Test II)

Posted: Fri Jul 17, 2009 3:26 pm
by Vanguarda
Roberto Lopez wrote:
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

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  
What´s going on?! where i missed?



With best regards,
Could you be so kind to post a complete sample?

the problem arises only in 2.9.3 forum test?

TIA.

Regards,

Roberto.
Hi master,

Sorry my delay for response, i was off-line in here. :oops:

With best regards,