... This is what would be more or less And then in my web application, just like this ... myparameter: = PValue (1) Please call like this: index.prg?name1=value1&name2=value2 your index.prg function Main() local hPairs := AP_Args() ? ValToChar( ...
... for many years. To be exact, from FWH 10.02 onwards. oDbf:MapCol( cFieldName, cUserFriendlyName ) or oDbf:MapCol( { { "fld1", "name1" }, .... { "fldN","nameN" } } ) Small Sample: local oDbf oDbf := TDatabase():Open( nil, "STATES", ...
... DBF 1 ------------------------- STATIC FUNCTION SET_SCOPE(cMonth) // the selected service-DBF ( Jan - Dec ) LOCAL cNName := UPPER((CUSTOMER)->NAME1) + UPPER((CUSTOMER)->NAME) // the cusomer name from DBF 1 to filter DBF 2 DBSELECTAREA( cMonth ) // DBF 2 (cMonth)->( ORDSCOPE( 0, NIL ) ...
... DBF 1 ------------------------- STATIC FUNCTION SET_SCOPE(cMonth) // the selected service-DBF ( Jan - Dec ) LOCAL cNName := UPPER((CUSTOMER)->NAME1) + UPPER((CUSTOMER)->NAME) // the cusomer name from DBF 1 to filter DBF 2 DBSELECTAREA( cMonth ) // DBF 2 (cMonth)->( ORDSCOPE( 0, NIL ) ...
Uwe, OK, I have found what is going on. These two lines are not equivalent: set relation to upper(name1) into "serv" ORDSETRELATION("serv", {|| cust->name1}, "Serv->name1") ORDSETRELATION() does add a scope, but SET RELATION does not. ...
... row of SERVICES shows 38 fields As well the FOLDER-page is updated // CUSTOMERS REDEFINE XBROWSE oBrw1 ID 110 OF oDlg1 AUTOSORT ; COLUMNS { "NAME1", "NAME", "PFLSTUFE", "MERKER", "VARIANTE" } ; ALIAS "KUNDE" SET ORDER TO TAG KUNDE1 ... ...