[DUG] DBCombo/DBLookup Combo

Marshland Engineering marshland at marshland.co.nz
Fri Feb 20 16:51:52 NZDT 2009


I had problems with the source data being changed when I used a lookup. I created a manual lookup table and found the same problem. Looks like the record pointers got mixed up when using 2 tables. I fixed the source file over 20 times but I could not duplicate the key strokes that created the problem. (Delphi 4) 

I posted a problem with creating dBase3 files a few days ago and the end result is that field names are not created correctly. (I used Dbase as I had 15 year of programming experience with them and Excel can read them directly) 

Delphi appears to create and integer type field instead of real numbers when using the following:

          if dm.tblOper.Fields[i].Datatype=ftFloat then
             Add(trim(copy(dm.tblOper.Fields[i].Name,8,10)), ftFloat, 0, False);
or 
         FieldDefs.Assign(dm.tblOper.FieldDefs);


I have just downloaded Absolute database and so far things have worked correctly.  

Wallace
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20090220/33887def/attachment-0001.html 


More information about the Delphi mailing list