Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-10

about DBGrid from hfiandor 31 oct 2012

17 messages · 8 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Héctor F. Fiandor Rosario
to Vincent Snijders: 2012/10/31 Andrew Brunner Nice offer, I see you already added to the bounties page at:…

Dear colleagues:

i have a BD with 20 fields. In a form i want to fill the data for three of then only, using a DBGrid.

the first columns is the Id that is AutoInc and the others are ftString.

Please, i don?t know how to fix the name of the columns with the name of the fields selected to be filled.

thanks in advance,

yours truly,

Ing. H?ctor F. Fiandor Rosario

Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistem a Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas Infomed: http://www.sld.cu/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20121031/aea5f791/attachment.html>

Reply by email

Andrew Brunner

I'm looking to better Lazarus on Windows 8 (64bit). I realize it just came out and it may be not worth the time to run (even in a virtual-box).

I'm offering a few Lazarus core developers a copy of windows 8 so they can have it to run and test and improve Lazarus.

The only thing I want is
1: fcl-db components present (currently missing postgresql). 2: Install to Program Files and Build Projects. If the problem is out of scope - clearly identify problem areas and their external projects.

Email me for acceptance, I will buy and drop-ship you the cd. You retain license for your time. Win8 Pro Upgrade or Win8 Pro Full.

Thanks,

Andrew Brunner Aurawin LLC 512.574.6298 http://aurawin.com/ Aurawin is a great new way to store, share, and enjoy your photos, videos, music and more.

Reply by email

Vincent Snijders
to Andrew Brunner

2012/10/31 Andrew Brunner

Show quoted text 15 lines
I'm looking to better Lazarus on Windows 8 (64bit). I realize it just came out and it may be not worth the time to run (even in a virtual-box). I'm offering a few Lazarus core developers a copy of windows 8 so they can have it to run and test and improve Lazarus. The only thing I want is 1: fcl-db components present (currently missing postgresql). 2: Install to Program Files and Build Projects. If the problem is out of scope - clearly identify problem areas and their external projects. Email me for acceptance, I will buy and drop-ship you the cd. You retain license for your time. Win8 Pro Upgrade or Win8 Pro Full.

Nice offer, I see you already added to the bounties page at: http://wiki.lazarus.freepascal.org/Bounties#Windows_8_64bit_Pro_.28Full.2FUpgrade.29

Thanks,
Vincent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20121031/6af99702/attachment.html>

Reply by email

luiz americo pereira camara
to Andrew Brunner: I'm looking to better Lazarus on Windows 8 (64bit). I realize it just came out and it…

2012/10/31 Andrew Brunner

1: fcl-db components present (currently missing postgresql).

AFAIK, the lack of db components in 64bit is a fpc issue. Somehow some db units were not built in 64bit. I remember some fixes landing in fpc svn repository some time ago

So your best bet is ask the fpc devs.

Luiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20121031/e607dc0f/attachment.html>

Reply by email

luiz americo pereira camara
to Vincent Snijders: 2012/10/31 Andrew Brunner Nice offer, I see you already added to the bounties page at:…

2012/10/31 Vincent Snijders

Show quoted text 14 lines
2012/10/31 Andrew Brunner > I'm looking to better Lazarus on Windows 8 (64bit). I realize it just > came out and it may be not worth the time to run (even in a virtual-box). > > I'm offering a few Lazarus core developers a copy of windows 8 so they > can have it to run and test and improve Lazarus. > > The only thing I want is > 1: fcl-db components present (currently missing postgresql). >

AFAIK, the lack of db components in 64bit is a fpc issue. Somehow some db units were not built in 64bit. I remember some fixes landing in fpc svn repository some time ago

So your best bet is ask the fpc devs.

Luiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20121031/07702433/attachment-0001.html>

Reply by email

Reinier Olislagers
to luiz americo pereira camara: 2012/10/31 Andrew Brunner AFAIK, the lack of db components in 64bit is a fpc issue.…
luiz americo pereira camara wrote

<snip>

Show quoted text 9 lines
1: fcl-db components present (currently missing postgresql). AFAIK, the lack of db components in 64bit is a fpc issue. Somehow some db units were not built in 64bit. I remember some fixes landing in fpc svn repository some time ago So your best bet is ask the fpc devs.

Bug with patch for 64 bit Lazarus component for PostgreSQL: http://bugs.freepascal.org/view.php?id=23096
Postgres SQL Connection for 64bit driver
which depends on the FPC implementation:

http://bugs.freepascal.org/view.php?id=23098
[Patch] FPC Postgres SQL Connection for 64bit driver applied in FPC trunk/2.7.1, revision 22607
marked for backport to 2.6.x (could be/might well be in there already, don't remember).

The FPC patch has been committed; the Lazarus one hasn't yet. If you use FPC trunk, you could apply the Lazarus patch....

Reply by email

Maxim Ganetsky
to Reinier Olislagers

31.10.2012 22:25, Reinier Olislagers ?????:

Show quoted text 26 lines
On 31-10-2012 17:49, luiz americo pereira camara wrote: > <snip> > 1: fcl-db components present (currently missing postgresql). > > > > AFAIK, the lack of db components in 64bit is a fpc issue. Somehow some > db units were not built in 64bit. I remember some fixes landing in fpc > svn repository some time ago > > So your best bet is ask the fpc devs. Bug with patch for 64 bit Lazarus component for PostgreSQL: http://bugs.freepascal.org/view.php?id=23096 Postgres SQL Connection for 64bit driver which depends on the FPC implementation: http://bugs.freepascal.org/view.php?id=23098 [Patch] FPC Postgres SQL Connection for 64bit driver applied in FPC trunk/2.7.1, revision 22607 marked for backport to 2.6.x (could be/might well be in there already, don't remember). The FPC patch has been committed; the Lazarus one hasn't yet. If you use FPC trunk, you could apply the Lazarus patch....

It seems that this revision isn't yet in 2.6.x. BTW, won't it break Lazarus compilation with FPC 2.6.0?

Best regards, Maxim Ganetsky mailto:

Reply by email

Juha Manninen
to Reinier Olislagers: <snip> Bug with patch for 64 bit Lazarus component for PostgreSQL:…
Reinier Olislagers wrote 7 lines
Bug with patch for 64 bit Lazarus component for PostgreSQL: http://bugs.freepascal.org/view.php?id=23096 Postgres SQL Connection for 64bit driver which depends on the FPC implementation: [...] The FPC patch has been committed; the Lazarus one hasn't yet. If you use FPC trunk, you could apply the Lazarus patch....

I applied it, or actually I removed the whole define because it became obsolete.

Juha

Reply by email

Sven Barth
to Héctor F. Fiandor Rosario: Dear colleagues: i have a BD with 20 fields. In a form i want to fill the data for three…

Don't reply to an existing thread, but write directly to the mailing list instead as otherwise your message might get ignored as others (especially those that might be able to help you) might ignore the message thread where you answered to.

Regards,
Sven

H?ctor F. Fiandor Rosario wrote 18 lines
Dear colleagues: i have a BD with 20 fields. In a form i want to fill the data for three of then only, using a DBGrid. the first columns is the Id that is AutoInc and the others are ftString. Please, i don?t know how to fix the name of the columns with the name of the fields selected to be filled. thanks in advance, yours truly, Ing. H?ctor F. Fiandor Rosario <mailto:> -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Reinier Olislagers
to Vincent Snijders
Vincent Snijders wrote 9 lines
2012/10/31 Juha Manninen : > On Wed, Oct 31, 2012 at 10:49 PM, Maxim Ganetsky wrote: >> It seems that this revision isn't yet in 2.6.x. BTW, won't it break Lazarus >> compilation with FPC 2.6.0? > > I have FPC 2.6.0 and it compiles OK. > It does not compile on windows 64. Please fix.

Sorry about that & thanks to Juha for fixing it!

Reply by email

Vincent Snijders
to Juha Manninen: I have FPC 2.6.0 and it compiles OK. Juha

2012/10/31 Juha Manninen

Show quoted text 8 lines
On Wed, Oct 31, 2012 at 10:49 PM, Maxim Ganetsky wrote: > It seems that this revision isn't yet in 2.6.x. BTW, won't it break Lazarus > compilation with FPC 2.6.0? I have FPC 2.6.0 and it compiles OK. Somebody reported that (when compiling with fpc 2.6.0), there no

postgresql connection anymore for win32.

Vincent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20121119/52b3ca3b/attachment.html>

Reply by email

Reinier Olislagers
to Vincent Snijders
Vincent Snijders wrote 17 lines
2012/10/31 Juha Manninen < <mailto:>> On Wed, Oct 31, 2012 at 10:49 PM, Maxim Ganetsky < <mailto:>> wrote: > It seems that this revision isn't yet in 2.6.x. BTW, won't it break Lazarus > compilation with FPC 2.6.0? I have FPC 2.6.0 and it compiles OK. Somebody reported that (when compiling with fpc 2.6.0), there no postgresql connection anymore for win32.

That somebody may try the following patch (untested), as it appears the current version disables the postgresql connector if the compiler is older than 2.6.1.

-------------- next part --------------
Index: components/sqldb/registersqldb.pas
=================================================================== --- components/sqldb/registersqldb.pas (revision 39290) +++ components/sqldb/registersqldb.pas (working copy) @@ -18,13 +18,19 @@
unit registersqldb;

{$mode objfpc}{$H+}
-{$IFNDEF win64}
+{$IFDEF win64}
+{$IF FPC_FULLVERSION>= 20601}
+{$DEFINE HASPQCONNECTION}
+{$ENDIF FPC_FULLVERSION>= 20601}
+{$ELSE}
{$DEFINE HASMYSQL4CONNECTION}
{$DEFINE HASORACLECONNECTION}
+// On non-Win64, PostgreSQL connection should always be available, +// regardless of FPC version
+{$DEFINE HASPQCONNECTION}
{$ENDIF}

 {$IF FPC_FULLVERSION>= 20601}
-{$DEFINE HASPQCONNECTION}
 {$DEFINE HASMYSQL55CONNECTION}
 {$IF DEFINED(BEOS) OR DEFINED(HAIKU) OR DEFINED(LINUX) OR DEFINED(FREEBSD) OR DEFINED (NETBSD) OR DEFINED(OPENBSD) OR DEFINED(WIN32) OR DEFINED(WIN64)}
 // MS SQL Server and Sybase ASE connectors were introduced in the FPC 2.7 development branch,

Reply by email

Reinier Olislagers
to Reinier Olislagers
Reinier Olislagers wrote 23 lines
On 19-11-2012 20:52, Vincent Snijders wrote: > > > > 2012/10/31 Juha Manninen < > <mailto:>> > > On Wed, Oct 31, 2012 at 10:49 PM, Maxim Ganetsky < > <mailto:>> wrote: > > It seems that this revision isn't yet in 2.6.x. BTW, won't it > break Lazarus > > compilation with FPC 2.6.0? > > I have FPC 2.6.0 and it compiles OK. > > Somebody reported that (when compiling with fpc 2.6.0), there no > postgresql connection anymore for win32. > That somebody may try the following patch (untested), as it appears the current version disables the postgresql connector if the compiler is older than 2.6.1.

I suspect the patch in 39315 may not be completely correct:

+{$IF FPC_FULLVERSION>= 20600}
+{$DEFINE HASPQCONNECTION}
+{$ENDIF}
+
{$IF FPC_FULLVERSION>= 20601}
-{$DEFINE HASPQCONNECTION}

... now we try to enable Win64 PostgreSQL for FPC 2.6 which AFAIR will not work.
Also, people who still compile Laz with 2.4 will be out of luck but I can understand that version is not supported anymore.

Reply by email

Vincent Snijders
to Reinier Olislagers

2012/11/20 Reinier Olislagers

Show quoted text 40 lines
On 20-11-2012 10:18, Reinier Olislagers wrote: > On 19-11-2012 20:52, Vincent Snijders wrote: >> >> >> >> 2012/10/31 Juha Manninen < >> <mailto:>> >> >> On Wed, Oct 31, 2012 at 10:49 PM, Maxim Ganetsky < >> <mailto:>> wrote: >> > It seems that this revision isn't yet in 2.6.x. BTW, won't it >> break Lazarus >> > compilation with FPC 2.6.0? >> >> I have FPC 2.6.0 and it compiles OK. >> >> Somebody reported that (when compiling with fpc 2.6.0), there no >> postgresql connection anymore for win32. >> > That somebody may try the following patch (untested), as it appears the > current version disables the postgresql connector if the compiler is > older than 2.6.1. > > I suspect the patch in 39315 may not be completely correct: +{$IF FPC_FULLVERSION>= 20600} +{$DEFINE HASPQCONNECTION} +{$ENDIF} + {$IF FPC_FULLVERSION>= 20601} -{$DEFINE HASPQCONNECTION} ... now we try to enable Win64 PostgreSQL for FPC 2.6 which AFAIR will not work. Also, people who still compile Laz with 2.4 will be out of luck but I can understand that version is not supported anymore.

I made an attempt to fix it in r39320.

Vincent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20121120/f26e2052/attachment.html>

Reply by email

Reinier Olislagers
to Vincent Snijders
Vincent Snijders wrote 34 lines
2012/11/20 Reinier Olislagers < <mailto:>> On 20-11-2012 10:18, Reinier Olislagers wrote: > On 19-11-2012 20:52, Vincent Snijders wrote: >> >> >> >> 2012/10/31 Juha Manninen < <mailto:> >> <mailto: <mailto:>>> >> >> On Wed, Oct 31, 2012 at 10:49 PM, Maxim Ganetsky < <mailto:> >> <mailto: <mailto:>>> wrote: >> > It seems that this revision isn't yet in 2.6.x. BTW, won't it >> break Lazarus >> > compilation with FPC 2.6.0? >> >> I have FPC 2.6.0 and it compiles OK. >> >> Somebody reported that (when compiling with fpc 2.6.0), there no >> postgresql connection anymore for win32. >> > That somebody may try the following patch (untested), as it appears the > current version disables the postgresql connector if the compiler is > older than 2.6.1. > > I suspect the patch in 39315 may not be completely correct:

<snip>

Show quoted text 10 lines
... now we try to enable Win64 PostgreSQL for FPC 2.6 which AFAIR will not work. Also, people who still compile Laz with 2.4 will be out of luck but I can understand that version is not supported anymore. I made an attempt to fix it in r39320. Vincent

Looks good to me,

thanks,
Reinier

Reply by email