be carefull with values from a database, it is better to use the mid() function instead of mid$().
mid(NULL, x, y) returns a NULL value (a variant can hold a NULL value).
mid$(NULL, x, y) results in an error (invalid use of NULL).
============================================================
'C' is shorthand for Confusion, 'C++' much more confusion...