Converted to Active4D 4.0rc4 last week and had very few problems. Thought I'd point out a couple in case you have not made the switch.

RowSet: Version v3.1.0 build 5 of RowSet.a4L, NewFromData had the row delimiter and column delimiter switched in the parameter list.

Had a few text process variables defined in compiler_web that are used if the 4D method was called from both 4D and Active4D. In 3.0, I'd assign a value to this process variable that comes in from a form variable, and then call the routine. This worked fine in 3.0. Under 4.0 I'd get an error:

Job_StatusView_t := $stat
Cannot change the type of a 4D variable in a compiled database.

$stat comes from the form variable and is defined as string(255). Though you could assign a string variable to a text variable, but not in 4.0. I just created a local text variable c_text($tstat) and assigned $stat to it, then assigned it to the process variable. Seems a little too strong typing since Active4D assigns all form variables as string if they are under 255 characters. Again, only had a few of those, and I think it caught all of them.

Other then those two minor gotchas, it would of been smooth sailing if I didn't screw up my grep replace of changing 'set session("xxx";yyy)' to 'session{"xxx"} := yyy' [needed to go to last ) after ;, not first ) ]


Steve


_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to