Lazarus
Installation => Windows (32/64) => Topic started by: OzeCode on June 16, 2013, 11:36:02 pm
-
I installed Lazarus 64 bit and tried the example from the Tdbf Tutorial on the Wiki and could not get it to accept the AutoInc or TabelLevel := 7.
An error message was shown suggesting the StrToInt was in error.
However, It will run ok if I do Not use the AutoInc and use TabelLevel 4.
Though after running the app I look back into the component Properties of the Dataset and found it had changed the TabelLevel to 3.
Is the Tutorial on the Wiki meant ONLY for the 32bit version?
-
fpc 2.6.2 ? TDbf is very buggy with 2.6.2, I've downloaded it from trunk (2.7.1) and replaced , now it works fine.
-
Zeljko is right. Tablelevel 7 doesn't work under 2.6.2 (but it should according to the specs).
Tablelevels 7 and 30 (Visual FoxPro) work much better under 2.7.1.
If you hit any problems with the 2.7.1 code, please post so I can have a look at the code...
-
Zeljko is right. Tablelevel 7 doesn't work under 2.6.2 (but it should according to the specs).
Tablelevels 7 and 30 (Visual FoxPro) work much better under 2.7.1.
If you hit any problems with the 2.7.1 code, please post so I can have a look at the code...
They work with 2.6.0, but not with 2.6.2. Patches from 2.7.1 are waiting to be merged into fixes (2.6.3)
-
Tablelevel 30 doesn't exist in 2.6.0. And I'm fairly sure that even if you could set tablelevel 7 in <=2.6.0 there were huge bugs (I remember editing the wiki page warning about it).
Anyway, the most important thing is that the code has been improved ;)
-
Thanks for the info.
trunk (2.7.1)
I am new at Lazarus. So do I find this and download this trunk (2.7.1) and find the Tdbf and put it into my current Lazarus component folder and rebuid Lazarus?
-
tdbf is included and enabled with a standard Lazarus install. See the data access tab in the component toolbar.
To get Laz with 2.7.x, you could try downloading a snapshot (if available) or use e.g. fpcup (see my signature and third party announcement on the forum)... or install manually using subversion.
-
Lazarus 1.0.10, 64bit; Free Pascal 2.6.2; Windows OS;
Macintosh Desktop AMD 64bit - Windows7 (64 bit) installed on C:\Bootcamp.
I set up Lazarus 32bit 1.0.10 on my old laptop and used the FPCUP program.
All worked out for the download and compile. I am happy now to do that on my 64 bit system.
Just not sure how to do what zeljko said 'I've downloaded it from trunk (2.7.1) and replaced , now it works fine.'
Which Folders of the downloaded subversion would I copy into the FPC 2.6.2 full installation?
-
This may help:
http://wiki.lazarus.freepascal.org/Installing_Lazarus
-
Note that about a week ago, most of these TDbf patches were merged back to fixes.