Hi all
Why does this filter work on WINDOWS and not on WEB?
Code:
Object oConmayor_DD is a cConmayorDataDictionary
Set pbUseDDSQLFilters to True
Procedure OnConstrain
String sFiltro
Integer nivl
Get piNivel to nivl
Move (SFormat("CONMAYOR.Nivel<=%1 ",SQLString(nivl))) to sFiltro
Set psSQLFilter to sFiltro
End_Procedure
End_Object
//Called on WEB
Procedure OnChange String sNewValue String sOldValue
Forward Send OnChange sNewValue sOldValue
Set piNivel to sNewValue
Send Rebuild_Constraints to oConmayor_DD
Send GridRefresh of oWebCrearCodigos
Send Find of oConmayor_DD FIRST_RECORD 1
End_Procedure
Edgar