Hi,
Hope someone can help. I am new to Lazarus(and Pascal) and learning fast. Some years ago I created a simple database using VisualBasic 6 using the record type to create fixed length records. I am now trying to re-write my database using Lazarus, but I cannot get the record type to work properly. It does read the file , but selecting a field to print results in truncated, corrupt, but nearly recognisable data. Sometimes it seems to read several fields when I only request one. I have checked to make sure I declared VB6 integers in the original VB record correctly using the equivalent Pascal type (smallint). But no joy. After reading a little I tried declaring the Lazarus record as a packed record - again with no luck. I would hate to have to create the database from scratch as it contains 700 records with much of the data hard to replace. Would gratefully accept any suggestions as to how I might approach this issue.