Error creating DBF programmatically
Original Reporter info from Mantis: mcrossley
-
Reporter name: Michael G Crossley
Original Reporter info from Mantis: mcrossley
- Reporter name: Michael G Crossley
Description:
CreateTable breaks after upgrade to Lazarus 1.0.8 + FPC 2.6.2
Steps to reproduce:
1.Install latest version of Lazarus and FPC
2.Use TDbf component
3.Attempt to create table:
With Dbf1.FieldDefs do begin
Add('Id', ftAutoInc, 0, True);
Add('Name', ftString, 80, True)
End;
Dbf1.CreateTable;
4.Compile OK
5.Run results in error dialog box with "B as error description
Additional information:
DBF components deprecated but should still work.
Mantis conversion info:
- Mantis ID: 24138
- OS: Windows
- OS Build: 7 64 & Vista 32
- Build: 1.0.8, 2.6.2, svn 40573
- Platform: PC
- Fixed in version: 3.0.0
- Fixed in revision: 24069 (#c9161bc5)
- Target version: 2.7.1