Thank you Bruce!
I think the problem it's solved.
I omit the original generated code and then put some condition ...
This is the generated code for button:
! End of "Before a Cell value is calculated"
if false
else ! default settings for column
loc:extra = ''
packet = clip(packet) & p_web.DivHeader('B_Transferuri_btn_Cerere_'&TRA:GUID,,net:crc,,loc:extra)
loc:disabled = ''
packet = clip(packet) & p_web.CreateButton('button','btn_Cerere','Retrimite cerere',p_web.combine(Choose('Retrimite cerere' <> '',p_web.site.style.BrowseOtherButtonWithText,p_web.site.style.BrowseOtherButtonWithOutText),l:CssButton),loc:formname,,,,loc:javascript,loc:disabled,,,,,,0,,,,'nt-left',1,,'Retrimite cerere','bserver')!g
End
packet = clip(packet) & p_web.DivFooter(Net:NoSend)
! Start of "After a Cell value is calculated"
! [Priority 5000]
now if I don't need the button and put only text it's correct like this?
! End of "Before a Cell value is calculated"
if false
else ! default settings for column
loc:extra = ''
packet = clip(packet) & p_web.DivHeader('B_Transferuri_btn_Cerere_'&TRA:GUID,,net:crc,,loc:extra)
loc:disabled = ''
packet = clip(packet) & '<p>Data: '&format(TRA:DataCerere,@D8-)&'<br /><span style="color:green;">Trimisa cu succes!</span></p>'
End
packet = clip(packet) & p_web.DivFooter(Net:NoSend)
! Start of "After a Cell value is calculated"
! [Priority 5000]
or I could just put
! End of "Before a Cell value is calculated"
if false
else ! default settings for column
packet = clip(packet) & '<p>Data: '&format(TRA:DataCerere,@D8-)&'<br /><span style="color:green;">Trimisa cu succes!</span></p>'
End
! Start of "After a Cell value is calculated"
! [Priority 5000]
The questions is: Do I need the header and footer packet?
Thank you again.
Robert
[attachment deleted by admin]