I'm using MySQL with ADO.
I have a stange error while browsing a data-fields.
I'm using
dtoc(oRs1:Fields( 'datum' ):Value)If I add an empty record to my recordset I get an error
Error description: Error BASE/1118 Argument error: DTOC
Args:
[ 1] = U
I'm not able to browse the recordset anymore until I fill a valid date.
How can I solve this? I can first fill the data with a dummy-date, but I don't find that a nice solution, because sometimes the date can be empty...
I can do a
IIF(!empty(oRs1:Fields( 'datum' ):Value),dtoc(oRs1:Fields( 'datum' ):Value),' Â / Â / Â ')Marc
FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite