I'm using Postgresql (7.3 I think)
For development I'm currently using Kylix 3 on Mandrake 10.1 with a database driver by VitaVoom.
I've only had a very brief play around with Lazarus - connecting with the PSQL database and PSQL dataset components which I assume to be roughly analgous to TSQLconnection and TSQLdataset in Kylix.
Some of the tables in the database have no value posted to them. For example the "payments" table (which records payments to staff) has a field for national insurance payments (It's a UK tax). If the employee's pay is below a certain level then the correct value for this field is not "0" it is left blank.
Kylix doesn't seem to have a problem with recalling records which have empty fields in, but Lazarus gives an error message
'' is an invalid float.
Strictly correct of course, but not helpful for my purposes.
I would like to move to Lazarus as Kylix has some fairly annoying faults, but the thought of trawling through several tens of thousands of records to replace blank fields doesn't appeal! If there's some way to suspend type checking when the records are retrieved from the database I'd be grateful to hear of it.
Thanks for any help