Board index » delphi » Converting to a Memo vs Formatted Memo - Paradox

Converting to a Memo vs Formatted Memo - Paradox

I am having a problem converting some tables which contain Paradox
formatted memo fields to the exact same table with memo fields.  Can
someone tell me why the following does not work in all cases:

           Table4.InsertRecord([
            Table3.FieldByName('ClusterNumber'),
            Table3.FieldByName('ClusterName'),
            Table3.FieldByName('CoreClasses9'),
            Table3.FieldByName('Recommended9'),
            Table3.FieldByName('CoreClasses10'),
            Table3.FieldByName('Recommended10'),
            Table3.FieldByName('CoreClasses11'),
            Table3.FieldByName('Recommended11'),
            Table3.FieldByName('CoreClasses12'),
            Table3.FieldByName('Recommended12'),
            Table3.FieldByName('CoreClasses13'),
            Table3.FieldByName('Recommended13'),
            Table3.FieldByName('CoreClasses14'),
            Table3.FieldByName('Recommended14'),
            Table3.FieldByName('CoreClasses15'),
            Table3.FieldByName('Recommended15'),
            Table3.FieldByName('CoreClasses16'),
            Table3.FieldByName('Recommended16')]);

The FieldByName method works with a file that has only one formatted
memo field when both the formatted memo and memo fields have the value
set at 200 store in the table, however when I try it with this table I
keep getting the error - "CoreClasses9 is not of the expected type" when
I try and run the program..

Help!

Thanks

Ed

 

Re:Converting to a Memo vs Formatted Memo - Paradox


Quote
>I am having a problem converting some tables which contain Paradox
>formatted memo fields to the exact same table with memo fields.  Can
>someone tell me why the following does not work in all cases:

Becasue Delphi does not support the Formated memo field type.

--
Brian Bushay (TeamB)
Bbus...@NMPLS.com

Other Threads