Specifying key fields in WHERE clause of UPDATE query ?
Posted: 12.06.2006, 21:20
Hi, sorry for this repeated post. I know this issue has already been discussed in http://zeos.firmos.at/viewtopic.php?t=504, but no solution has been found on that topic.
Here is the deal... I am using ADO/ODBC to connect to a Pervasive database, and being a deprecated database, it has no concepts of "primary key" or "null values". So, the resolver always puts every single column of the table in the where clause.
I am trying to update values in a table with Float fields, and they always appear in the where clause, causing incorret value comparision in the database... I also noticed that some empty valued strings are treated as nulls, what makes the desirable row unable to be found with the where clause.
So, it looks like I'm in big trouble... that's why I'm here to ask for any suggestion that would solve this issue, or maybe even where whithin Zeos source code I could access the ProviderFlags property of the TFields so I could manually create the correct where clause.
Thank you in advance, and sorry for any english mistakes.
Here is the deal... I am using ADO/ODBC to connect to a Pervasive database, and being a deprecated database, it has no concepts of "primary key" or "null values". So, the resolver always puts every single column of the table in the where clause.
I am trying to update values in a table with Float fields, and they always appear in the where clause, causing incorret value comparision in the database... I also noticed that some empty valued strings are treated as nulls, what makes the desirable row unable to be found with the where clause.
So, it looks like I'm in big trouble... that's why I'm here to ask for any suggestion that would solve this issue, or maybe even where whithin Zeos source code I could access the ProviderFlags property of the TFields so I could manually create the correct where clause.
Thank you in advance, and sorry for any english mistakes.