Search found 571 matches

by Stellar
Fri 13 Aug 2021 14:54
Forum: ODBC Drivers
Topic: Visual Foxpro - Slow Recordset Parse
Replies: 1
Views: 8300

Re: Visual Foxpro - Slow Recordset Parse

Hi there,

Thanks for your information but in order to investigate low performance of our driver please send us all table files (*.DBF, *.CDX, *.FPT, etc.) where the issue occurs.

You can send them using the contact form at our site:
https://www.devart.com/company/contactform.html

Regards
Sergey
by Stellar
Thu 12 Aug 2021 10:05
Forum: dbExpress driver for SQL Server
Topic: Connection Timeout
Replies: 1
Views: 15091

Re: Connection Timeout

Hi there!

Thank you for contacting our forum!

The time-out for connecting to the server is set in seconds; by default, the parameter is set to a 15 seconds value.
Please also note that the actual time-out may be slightly longer than the specified value.

Should you have any questions, do not hesitate to ask!
by Stellar
Thu 12 Aug 2021 07:12
Forum: SQL Server Data Access Components
Topic: process all records in sorted dataset
Replies: 1
Views: 13463

Re: process all records in sorted dataset

Hi there,

When the data in the locally sorted dataset is changed the recordset is automatically sorted.
To solve this issue, you may sort data on server, or make changes on the server, and then update the dataset.

Regards,
Sergey
by Stellar
Wed 11 Aug 2021 08:17
Forum: dbExpress driver for SQL Server
Topic: TSQLMonitor not supported on Delphi 10.4 Pro.
Replies: 5
Views: 23219

Re: TSQLMonitor not supported on Delphi 10.4 Pro.

Glad to see that the issue was resolved.
Feel free to contact us if you have any further questions about our products.
by Stellar
Tue 10 Aug 2021 14:04
Forum: Universal Data Access Components
Topic: The RecordCount property of the TUniQuery component has a bug
Replies: 2
Views: 1219

Re: The RecordCount property of the TUniQuery component has a bug

To get the actual number of records, you need to use either the TUniQuery.Options.QueryRecCount property:
https://www.devart.com/unidac/docs/deva ... ccount.htm

var
RecordCount: Integer;
begin
UniQuery1.Options.QueryRecCount := True;
UniQuery1.SQL.Text := 'SELECT * FROM Dept';
UniQuery1.Open;

UniQuery1.RecordCount;
end;
by Stellar
Tue 27 Jul 2021 17:20
Forum: dbExpress driver for SQL Server
Topic: How to connnect the SQL SQL SERVER Express in Direct Mode?
Replies: 3
Views: 18305

Re: How to connnect the SQL SQL SERVER Express in Direct Mode?

Hello,

Glad to see that the issue was resolved.
Feel free to contact us if you have any further questions about our products.

Best regards,
Sergey
Devart Team
www.devart.com
by Stellar
Fri 23 Jul 2021 14:07
Forum: ODBC Drivers
Topic: Error using Select TOP with foxpro
Replies: 1
Views: 8194

Re: Error using Select TOP with foxpro

Hello,

ODBC Driver for xBase is designed with using SQLite engine, therefore to compose queries using our drivers, you can use the syntax used in SQLIte: sqlite.org/lang.html
In most cases, our driver supports the SQLite syntax. To limit the number of rows returned for a query, please use the LIMIT clause. For example:

Code: Select all

SELECT TOP 5 A.VendorId, A.Code, A.Name 
FROM Vendors as A 
LIMIT 5
Should you have any questions, do not hesitate to ask!
Best regards,
Sergey
Devart Team
www.devart.com
by Stellar
Fri 23 Jul 2021 12:42
Forum: dbExpress driver for SQL Server
Topic: Could dbexpsda40.dll not exist in Deployment?
Replies: 3
Views: 21802

Re: Could dbexpsda40.dll not exist in Deployment?

Hi Eden,

Please note that this forum is created for technical requests only.
Please use the contact form below in order to reach our billing team by email so they could assist you with this question:
https://www.devart.com/company/contactform.html

Regards,
Sergey
by Stellar
Fri 23 Jul 2021 12:09
Forum: SQL Server Data Access Components
Topic: How to connect Datasnap
Replies: 1
Views: 14844

Re: How to connect Datasnap

Hello,

Thanks for your request, I will gladly assist you further.
Find out how to use our products in the applications supporting DataSnap technology at https://blog.devart.com/using-dac-produ ... pment.html

Should you have any questions, do not hesitate to ask!
Best regards,
Sergey
Devart Team
www.devart.com
by Stellar
Fri 23 Jul 2021 11:57
Forum: dbExpress driver for SQL Server
Topic: How to connnect the SQL SQL SERVER Express in Direct Mode?
Replies: 3
Views: 18305

Re: How to connnect the SQL SQL SERVER Express in Direct Mode?

Hello,

If you are not able to connect to the server in the Direct mode, but connection is successfully established through OLE DB, the most probable reason for this is that a TCP connection to the server is not allowed.

You can use the documentation to configure a remote connection to the server:
blogs.msdn.microsoft.com/walzenbach/2010/04/14/how-to-enable-remote-connections-in-sql-server-2008/
support.microsoft.com/en-us/help/968872/how-to-open-the-firewall-port-for-sql-server-on-windows-server-2008#LetMeFixItMyselfAlways

Should you have any questions, do not hesitate to ask!
Best regards,
Sergey
Devart Team
www.devart.com
by Stellar
Wed 21 Jul 2021 12:39
Forum: Universal Data Access Components
Topic: DataTypeMap.AddDBTypeRule(?,ft...);
Replies: 4
Views: 2116

Re: DataTypeMap.AddDBTypeRule(?,ft...);

Hi there,

We have added the description of constants for Data Type Mapping into correspondent article:
https://www.devart.com/unidac/docs/using-postgresql.htm

Regards,
Sergey
by Stellar
Thu 15 Jul 2021 12:05
Forum: SQL Server Data Access Components
Topic: Trimmed string param bug
Replies: 1
Views: 14144

Re: Trimmed string param bug

Hi Roman,

The loss of the string value part occurred when storing a Unicode string in a VARCHAR field in the database, for instance:

Code: Select all

CREATE TABLE T1 ( 
    [fid] [int] NOT NULL, 
    [fname] [varchar](50) NULL) 
 

Code: Select all

MSQuery1.SQL.Text := 'INSERT INTO t1 ( fid, fname ) VALUES ( :fid, :fname )' ; 
MSQuery1.Params[0].ParamType := ptInput; 
MSQuery1.Params[0].DataType := ftInteger; 
MSQuery1.Params[1].ParamType := ptInput; 
MSQuery1.Params[1].dataType := ftWideString; 

MSQuery1.Prepare; 
MSQuery1.Params[0].AsInteger := 1; 
MSQuery1.Params[1].AsWideString := '121222'; 
MSQuery1.Execute; 
Regards,
Sergey
by Stellar
Wed 14 Jul 2021 08:58
Forum: SQL Server Data Access Components
Topic: OLE DB error Code 80040E00h
Replies: 5
Views: 15663

Re: OLE DB error Code 80040E00h

Unfortunately, we couldn't reproduce the issue. To investigate this behavior of SDAC, please compose a small sample demonstrating the issue and send it to us, including database objects creating scripts.
You can send the sample using the contact form at our site: devart.com/company/contactform.html
by Stellar
Tue 29 Jun 2021 14:46
Forum: Universal Data Access Components
Topic: Get the used provider
Replies: 1
Views: 1743

Re: Get the used provider

SDAC doesn't provide information about which provider was used to connect, but you can find out about the used client:

Code: Select all

uses
  MSClasses;

procedure TForm1.Button1Click(Sender: TObject);
var
  St: String;
  MSSQLConnection: TMSSQLConnection;
begin
  MSSQLConnection := TMSSQLConnection(TDBAccessUtils.GetIConnection(MSConnection));

  if MSConnection.Connected then begin
    St := MSSQLConnection.GetServerVersionFull;
    if st <> ':' then
      Memo1.Lines.Add(St);
  end;
  if (MSConnection.Options.Provider <> prCompact) and
     (MSConnection.Options.Provider <> prDirect)
  then begin
    St := MSSQLConnection.GetClientVersionFull + ': ' + MSSQLConnection.GetClientVersion;
    if St <> ': ' then
      Memo1.Lines.Add(St);
  end;
end;
by Stellar
Tue 29 Jun 2021 14:14
Forum: Universal Data Access Components
Topic: TUniConnection - SQL Server, direct with instance name
Replies: 1
Views: 1397

Re: TUniConnection - SQL Server, direct with instance name

The Direct mode doesn't support this syntax. What error message are you getting?
In order for us to be able to give a more concrete answer, please specify the exact error message.