Re: [fpc-devel] TField.FieldName: how about database and table names?

2007-04-18 Thread Leonardo M. Ram
Bram, suppose myTable has two fields, "name" and "age", the query should return something like this: name|age|name1|age1 +---+-+ aa | 11| aa| 11 Each TField is related to one column in the resultset, not to each table involved in the query. --- Bram Kuijvenhoven <[EMAIL PROTECT

[fpc-devel] TField.FieldName: how about database and table names?

2007-04-18 Thread Bram Kuijvenhoven
Hi! The TField class from the db unit defines a FieldName. When using SQL queries, columns in the result set can be fully qualified using the form 'database.table.field'. Apparently FieldName only constitus the latter part. When using an SQL query like SELECT * FROM myTable AS t1, myTable AS

Re: [fpc-devel] Submitted bug report on option order -Sa -Sg-

2007-04-18 Thread Micha Nelissen
Peter Vreman wrote: So, it is now not possible to switch off goto statements in Delphi mode by just giving some command-line options. It requires an adapted configuration file, or knowing exactly what options are implicitly set for -Mdelphi, and copying those, except -Sg, on the command-line. Or

Re: [fpc-devel] Submitted bug report on option order -Sa -Sg-

2007-04-18 Thread Peter Vreman
> So, it is now not possible to switch off goto statements in Delphi > mode by just giving some command-line options. It requires an adapted > configuration file, or knowing exactly what options are implicitly > set for -Mdelphi, and copying those, except -Sg, on the command-line. > Or do I overlo

Re: [fpc-devel] Submitted bug report on option order -Sa -Sg-

2007-04-18 Thread Tom Verhoeff
On Sun, Apr 15, 2007 at 09:51:55PM +0200, Tomas Hajny wrote: > On 15 Apr 07, at 21:14, Tom Verhoeff wrote: > > On Sat, Apr 14, 2007 at 06:56:12PM +0200, Jonas Maebe wrote: > > > On 13 Apr 2007, at 17:38, Tom Verhoeff wrote: > > > > > > >The order -Sa -Sg- fails to generate assertion checking code,