Question: What does the option PoForceIsNull mean?

Answer: Hmm :), this a great FIBPlus feature. For example, you have a query:

delete from Table1 where Param1 =?Param1 and Param2 =?Param2

Suppose, that Param2 is null. Standard components simply set Param2 buffer to nil and that's all. But actually, it is necessary to send another query to a server:

delete from Table1 where Param1 =?Param1 and Param2 IS NULL

Otherwise, the server will not delete a necessary record as it just cannot find such a record. The PoNoForceIsNul option allows TpFIBQuery (and TpFIBDataSet) to change SQL with NULL parameter values if necessary. If you have record with NULL fields in your selecting query, the "delete" query won't work until you set PoNoForceIsNul to True.


Preview text: 
Prices in Euro:

235 (1 copy)
1250 (unlimited)

Volume discounts are available...

Navigation



Well, the ballots are in and the votes for the 2003 Delphi Informant Readers Choice Awards have been tallied - Congratulations Devrace, you are the runner-up in Database Connectivity category! >>

Debbie Holmgren, VP of Sales, Delphi Informant Magazine
FOR CUSTOMERS
Download full versions and updates in your Personal Area