numeric field and PGLoader.fieldtype
numeric field and PGLoader.fieldtype
Hello,
Which is the correct PGLoader.FieldType for a numeric(16,2) field in a PostgreSQL table ?
I tried ftcurrency and ftfloat but none of these work.
Many thanks
Pio Pio
Which is the correct PGLoader.FieldType for a numeric(16,2) field in a PostgreSQL table ?
I tried ftcurrency and ftfloat but none of these work.
Many thanks
Pio Pio
-
- Devart Team
- Posts: 271
- Joined: Wed 23 Jan 2013 11:21
Re: numeric field and PGLoader.fieldtype
Hello.
Thank you for the information. We have reproduced the problem and are investigating it. We will inform you as soon as we have any results.
Thank you for the information. We have reproduced the problem and are investigating it. We will inform you as soon as we have any results.
Re: numeric field and PGLoader.fieldtype
Hello,
Is there any workaround, in the meantime ?
Thanks
Pio Pio
Is there any workaround, in the meantime ?
Thanks
Pio Pio
-
- Devart Team
- Posts: 271
- Joined: Wed 23 Jan 2013 11:21
Re: numeric field and PGLoader.fieldtype
As a workaround, you can create all columns automatically using TPgLoader.CreateColumns method.
Re: numeric field and PGLoader.fieldtype
I tried both, design time and runtime, but no joy, any other advice ?DemetrionQ wrote:As a workaround, you can create all columns automatically using TPgLoader.CreateColumns method.
Thanks
Pio Pio
Re: numeric field and PGLoader.fieldtype
Hello,
We have already fixed the problem, the fix will be included to the next version of PgDAC
We have already fixed the problem, the fix will be included to the next version of PgDAC
Re: numeric field and PGLoader.fieldtype
Is there any workaround in the meantime ?AlexP wrote:Hello,
We have already fixed the problem, the fix will be included to the next version of PgDAC
Thanks
Pio Pio
Re: numeric field and PGLoader.fieldtype
Hello,
You can modify the column type at both design-time - in the PgLoader column editor - and run-time:
You can modify the column type at both design-time - in the PgLoader column editor - and run-time:
Code: Select all
PgLoader1.CreateColumns;
PgLoader1.Columns.FieldType := ftXXXX;
Re: numeric field and PGLoader.fieldtype
sorry but I cannot fine any ftXXXX among the values in PgLoader1.Columns.FieldTypeAlexP wrote:Hello,
You can modify the column type at both design-time - in the PgLoader column editor - and run-time:
Code: Select all
PgLoader1.CreateColumns; PgLoader1.Columns.FieldType := ftXXXX;
Re: numeric field and PGLoader.fieldtype
Hello,
The field types are declared in the DB module, i.e.:
The field types are declared in the DB module, i.e.:
Code: Select all
uses ..., DB;
...
PgLoader1.Columns[0].FieldType := ftFloat;
PgLoader1.Columns[1].FieldType := ftInteger;
...