uBridgnorthServicing.pas

  1. { $Id: uBridgnorthServicing.pas 3756 2008-05-29 15:46:37Z mat $ }
  2.  
  3. {MySQL40}
  4.  
  5. (**
  6.  * Jesus christ, this one was hard work! MySQL 4.0 trouble *again*!
  7.  * 4.0 returns some SUM() fields as LargeInt, which QuickReports can't handle.
  8.  * You can't CAST() it to anything else, because that only works in 4.1 onwards.
  9.  * (4.0 has the functions, but it doesn't actually change the field type?!)
  10.  * So what I've done is use the RawData option on the dataset, so each field
  11.  * is returned as a string, then used calculated fields to turn them back into
  12.  * integers for QuickReports to work with, because you can't SUM() strings!
  13.  *)
  14.