Hello
I want to do On/Off type calendar and thats why I added the following code in Start of "Procedure Setup"
if p_Stage=0
do openfiles
Vka:pvm= p_web.GetValue('_Date_')
Vka:ind= p_web.GSV('vak:ind')
Vakioajon_pvm{prop:sql}='select * from Vakioajon_pvm where ind='&vka:ind&' and pvm='&Vka:pvm
next(Vakioajon_pvm)
if error()
Vka:pvm= p_web.GetValue('_Date_')
Vka:ind= p_web.GSV('vak:ind')
Access:Vakioajon_pvm.Insert
ELSE
Vakioajon_pvm{prop:sql}='delete from Vakioajon_pvm where ind='&vka:ind&' and pvm='&Vka:pvm
.
ans = band(p_stage,255)
return(ans)
.
omit('!!!') ! I removed all the remaining codes
.....
!!!
That works fine expeted the Netwebyear does not refersh after pressing the date button.
What is missing in my code ?
Thanks
Jari