I'm using MySQL with ADO.
I have a stange error while browsing a data-fields.
I'm using
- Code: Select all Expand view
- 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
- Code: Select all Expand view
- IIF(!empty(oRs1:Fields( 'datum' ):Value),dtoc(oRs1:Fields( 'datum' ):Value),' / / ')