Hello,
When creating Linked Server, you chose the wrong provider. From the Provider drop-down list you need to select Microsoft OLE DB Provider for ODBC Driver
Search found 5532 matches
- Mon 23 Jan 2017 08:04
- Forum: ODBC Drivers
- Topic: Problem connecting with DevartODBCExactTarget driver
- Replies: 7
- Views: 153359
- Thu 19 Jan 2017 14:07
- Forum: Universal Data Access Components
- Topic: What happend to SpecifiOptions?
- Replies: 7
- Views: 1514
Re: What happend to SpecifiOptions?
Hello,
In the new version we have introduced a check for SpecificOptions and their values. Now, when you try to use a non-existent option, or assign an invalid value, you will receive an error message.
You can add your options the same way as the standard ones in the XXXUniProvider.pas file in the CreateConnectionOptions method
In the new version we have introduced a check for SpecificOptions and their values. Now, when you try to use a non-existent option, or assign an invalid value, you will receive an error message.
You can add your options the same way as the standard ones in the XXXUniProvider.pas file in the CreateConnectionOptions method
- Thu 19 Jan 2017 12:15
- Forum: ODBC Drivers
- Topic: SQLIte System.Data.Odbc.OdbcDataReader ussue with NUMBER(5.5) column
- Replies: 1
- Views: 2647
Re: SQLIte System.Data.Odbc.OdbcDataReader ussue with NUMBER(5.5) column
We have reproduced the described situation and will investigate the reasons for such behavior.
- Thu 19 Jan 2017 08:17
- Forum: PostgreSQL Data Access Components
- Topic: Returning last ID after insert
- Replies: 5
- Views: 7313
Re: Returning last ID after insert
Besides the ReturnParams property you need to set the Inser query correctly, a full sample is provided below:
Code: Select all
IF NOT EXISTS public.t_autoinc f_id integer NOT NULL DEFAULT nextval('t_autoinc_f_id_seq'::regclass), f_txt character varying(20), CONSTRAINT pk_t_autoinc PRIMARY KEY (f_id))
Code: Select all
TPgConnection *PgConnection = new TPgConnection(NULL);
TPgTable *PgTable = new TPgTable(NULL);
PgConnection->ConnectString = "...";
PgConnection->Connect();
PgTable->Connection = PgConnection;
PgTable->TableName = "t_autoinc";
PgTable->Options->ReturnParams = True;
PgTable->SQLInsert->Text = "INSERT INTO t_autoinc (f_txt) VALUES (:f_txt) returning f_id";
PgTable->Open();
PgTable->Append();
PgTable->FieldByName("f_txt")->AsString = "test";
PgTable->Post();
ShowMessage(PgTable->FieldByName("f_id")->AsString);
PgTable->Close();
- Wed 18 Jan 2017 08:40
- Forum: PostgreSQL Data Access Components
- Topic: Returning last ID after insert
- Replies: 5
- Views: 7313
Re: Returning last ID after insert
Yes, PgTable also allows to get the inserted id. In the example above it is enough to change PgQuery into PgTable.
- Wed 18 Jan 2017 06:37
- Forum: PostgreSQL Data Access Components
- Topic: Returning last ID after insert
- Replies: 5
- Views: 7313
Re: Returning last ID after insert
Hello,
To return the value retrieved in the sequence to DataSet, you should set the ReturnParams option to True (PgQuery1.Options.ReturnParams := True), and use the following construction:
To return the value retrieved in the sequence to DataSet, you should set the ReturnParams option to True (PgQuery1.Options.ReturnParams := True), and use the following construction:
Code: Select all
INSERT INTO t_autoinc (f_txt) VALUES (:f_txt) returning f_id
Code: Select all
CREATE TABLE public.t_autoinc
(
f_id integer NOT NULL DEFAULT nextval('t_autoinc_f_id_seq'::regclass),
f_txt character varying(20),
CONSTRAINT pk_t_autoinc PRIMARY KEY (f_id)
)
Code: Select all
PgQuery1.SQL.Text := 'select * from t_autoinc';
PgQuery1.SQLInsert.Text := 'INSERT INTO t_autoinc (f_txt) VALUES (:f_txt) returning f_id';
PgQuery1.Options.ReturnParams := True;
PgQuery1.Open;
PgQuery1.Append;
PgQuery1.Fields[1].AsString := 'test';
PgQuery1.Post;
ShowMessage(PgQuery1.Fields[0].AsString);
- Tue 17 Jan 2017 11:39
- Forum: ODBC Drivers
- Topic: SQL<-->Zoho synchronization
- Replies: 3
- Views: 3097
Re: SQL<-->Zoho synchronization
We reproduced the problem with OPENQUERY, such errors do not occur with a regular query, we will continue to investigate the problem and inform you about the result
- Fri 13 Jan 2017 10:05
- Forum: ODBC Drivers
- Topic: Récupérer une licence active
- Replies: 3
- Views: 1981
Re: Récupérer une licence active
Hello,
We have just resent you the registration email to [email protected]. Please allow up to 10-15 minutes to pass in order to receive it. If you did not receive the email, please check your Spam or Junk folders as such emails are sometimes considered unwanted by these filters. If the email was not delivered, please provide us with an alternative email address of yours.
Should we may be of any further assistance, please do not hesitate to contact sales*devart*com .
We have just resent you the registration email to [email protected]. Please allow up to 10-15 minutes to pass in order to receive it. If you did not receive the email, please check your Spam or Junk folders as such emails are sometimes considered unwanted by these filters. If the email was not delivered, please provide us with an alternative email address of yours.
Should we may be of any further assistance, please do not hesitate to contact sales*devart*com .
- Tue 10 Jan 2017 12:03
- Forum: ODBC Drivers
- Topic: Récupérer une licence active
- Replies: 3
- Views: 1981
Re: Récupérer une licence active
Please send us your license number and key to support*devart*com, and we'll check your key.
- Tue 10 Jan 2017 09:43
- Forum: ODBC Drivers
- Topic: SQL<-->Zoho synchronization
- Replies: 3
- Views: 3097
Re: SQL<-->Zoho synchronization
Hello,
Please provide the text or a screenshot of the error message occurring on update
Please provide the text or a screenshot of the error message occurring on update
- Tue 03 Jan 2017 09:41
- Forum: Universal Data Access Components
- Topic: Direct in MySQL is missing
- Replies: 1
- Views: 1015
Re: Direct in MySQL is missing
Hello,
Yes, we have removed this option since the operation mode through the client library is deprecated. Now the operation is implemented only in the direct mode.
Yes, we have removed this option since the operation mode through the client library is deprecated. Now the operation is implemented only in the direct mode.
- Tue 03 Jan 2017 09:08
- Forum: ODBC Drivers
- Topic: Newbie issues for Zoho CRM
- Replies: 1
- Views: 1677
Re: Newbie issues for Zoho CRM
Hello,
1..2) Please specify which mechanism you use to retrieve data from Zoho in Excel: Microsoft Query or Power Query?
3) You can save Security Token as a DSN configuration (Check Box: Save Api Key).
1..2) Please specify which mechanism you use to retrieve data from Zoho in Excel: Microsoft Query or Power Query?
3) You can save Security Token as a DSN configuration (Check Box: Save Api Key).
- Tue 03 Jan 2017 08:40
- Forum: Universal Data Access Components
- Topic: TUniAlerter ->SpecificOptions
- Replies: 1
- Views: 1227
Re: TUniAlerter ->SpecificOptions
hello,
There is no option in UniAlerter, you can set ConnectionTimeOut in UniConnection
There is no option in UniAlerter, you can set ConnectionTimeOut in UniConnection
- Tue 03 Jan 2017 08:18
- Forum: VirtualDAC
- Topic: Autoinc in TVirtualTable
- Replies: 1
- Views: 3910
Re: Autoinc in TVirtualTable
Hello,
We will consider the possibility to add such feature in one of the next versions.
We will consider the possibility to add such feature in one of the next versions.
- Fri 23 Dec 2016 11:39
- Forum: ODBC Drivers
- Topic: How to set encoding for string being sent/returned by devart ASE ODBC driver
- Replies: 5
- Views: 2765
Re: How to set encoding for string being sent/returned by devart ASE ODBC driver
Glad to see that you have found the solution. If you have any other questions, feel free to contact us