I have only ever used Browses, Forms and Reports to display my data, so what do I have to learn to get the columns in an array display to list properly?
Everything lines up when I use a mono spaced font, but when I try and use others the columns become zig-zagged.
following code segments from my script:
your guidance respectfully requested.
I think I may need to add something between the two == and possible more formatting in the two functions, but what?
Everything lines up when I use a mono spaced font, but when I try and use others the columns become zig-zagged.
following code segments from my script:
Code:
{font=Lucida Sans Typewriter,9}
Code:
[%O==FmtMissingLog(eval(value))%.80,8mix^#vMissingData]{endregion}
Code:
[%O==FmtCurrLogg(eval(value))%.160,24idx^#vDisplayData!select_*];
Code:
FUNCTION FmtMissingLog as c (ar as p) if chr(123) $ ar.where then vWhere = stritran(ar.where,chr(123),"") vWhere = stritran(vWhere,chr(125)," ott") else vWhere = ar.where end if fmtMissingLog = padr(ar.reg,9," ")+padr(ar.Code,8," ")+padr(ar.H,3," ")+padr(ar.When,11," ")+padr(vWhere,34," ") end function
Code:
FUNCTION FmtCurrLogg as c (ar as p) if chr(123) $ ar.where then vWhere = stritran(ar.where,chr(123),"") vWhere = stritran(vWhere,chr(125)," ott") else vWhere = ar.where end if if rtrim(ar.as) <> "" then vReg = ar.reg else vReg = ar.reg end if if isdate(dtoc(ar.when)) then vWhen = dtoc(ar.when) else vWhen = " " end if if rtrim(ar.ac_unique) = "" then vAcType = "" else vActype = lookupc("f",ar.ac_unique,"aircraft_type","aircraft_type","Ac_Unique") end if if rtrim(ar.country) = "" then vCountry = " " else vCountry = rtrim(ar.country) end if FmtCurrLogg = padr(ar.reg,9," ")+padr(ar.Code,8," ")+padr(ar.H,3," ")+padr(vWhen,11," ")+padr(vWhere,28," ")+padr(vAcType,32," ")+vCountry end function
Comment