Hi,
I have a blank app created in v8.0 , there is some codes that you don’t need to change after months and years. After updating to v8.1 and generating all apps this code doesn’t work anymore.
After 1 day of seraching what happend, I found that the global variable [nres] is not listed in Global Variables sections
SC development team, please be carefull !!!
Thanks
Nac
[SIZE=12px]v8.1.022[/SIZE]
Working code in v8.0 but doesn’t work after generating in v.8.1
[m_nres]="";
[m_denroom]="";
[m_nroom]="";
[m_olddatedeb]="";
[m_olddatefin]="";
[m_datedeb]="";
[m_datefin]="";
$idattroom=0;
$mode=substr([nres],0,4);
$nres=substr([nres],4);
but this works !!!
[m_nres]="";
[m_denroom]="";
[m_nroom]="";
[m_olddatedeb]="";
[m_olddatefin]="";
[m_datedeb]="";
[m_datefin]="";
$mtmp=[nres]; // MUST ADD THIS LINE FOR HAVING [nres] in global variables sections
$idattroom=0;
$mode=substr([nres],0,4);
$nres=substr([nres],4);