Detlev Lang wrote: > Dim as LongDateRec cDate > Dim as DateTimeRec cDate This code should provoke a 'duplicate definition' error from FBtoC, because you are re-using the name cDate. It seems that FBtoC doesn't flag duplicate record var names as errors. I've entered a new bug in the database. Robert P.