Search found 3342 matches

by ViktorV
Fri 08 Aug 2014 07:20
Forum: Universal Data Access Components
Topic: Post then Refresh different under 5.3.10
Replies: 3
Views: 1122

Re: Post then Refresh different under 5.3.10

Please send a complete sample to alexp*devart*com to demonstrate the issue, including a script to create and fill a table.
by ViktorV
Fri 08 Aug 2014 06:56
Forum: Universal Data Access Components
Topic: Universal Field Types
Replies: 5
Views: 1299

Re: Universal Field Types

You can retrieve the information about the Primary Key fields using the TUniMetaData component as shown below:

Code: Select all

  UniMetaData.MetaDataKind := 'IndexColumns';
  UniMetaData.Restrictions.Values['Table_Name'] := TableName;
  UniMetaData.Filter := 'INDEX_NAME = "PRIMARY"';
  UniMetaData.Filtered := True;
  UniMetaData.Open;
  while not UniMetaData.Eof do begin
    Format('Column name: %s', [UniMetaData.FieldByName('COLUMN_NAME').AsString]);
    UniMetaData.Next;
  end;
by ViktorV
Thu 07 Aug 2014 11:50
Forum: Universal Data Access Components
Topic: Universal Field Types
Replies: 5
Views: 1299

Re: Universal Field Types

There are several variants of decision:

You can retrieve the information about table fields using the TUniTable component as shown below:

Code: Select all

  UniTable.TableName := TableName;
  UniTable.FieldDefs.Update;
  for i := 0 to UniTable.FieldDefs.Count - 1 do
  ...
You can also retrieve the information about the fields using the TUniMetaData component as shown below:

Code: Select all

  UniMetaData.MetaDataKind := 'Columns';
  UniMetaData.Restrictions.Values['Table_Name'] := TableName;
  UniMetaData.Open;
  while not UniMetaData.Eof do begin
    Format('Table name: %s | FieldName: %s | Fied Type: %s' | Fied Length: %s',     [UniMetaData.FieldByName('TABLE_NAME').AsString, UniMetaData.FieldByName('COLUMN_NAME').AsString, UniMetaData.FieldByName('DATA_TYPE').AsString, UniMetaData.FieldByName('DATA_LENGTH').AsString]);
    UniMetaData.Next;
  end;
by ViktorV
Thu 07 Aug 2014 11:26
Forum: SecureBridge
Topic: Possible to have 8 thousand SSHShell connection at the same time?
Replies: 5
Views: 2090

Re: Possible to have 8 thousand SSHShell connection at the same time?

The OnAsynReceiveEvent event is raised only when TScSSHShell.NonBlocking is True.
by ViktorV
Thu 07 Aug 2014 11:23
Forum: SecureBridge
Topic: Possible to have 8 thousand SSHShell connection at the same time?
Replies: 5
Views: 2090

Re: Possible to have 8 thousand SSHShell connection at the same time?

To solve the problem try to increase the TScSSHClient.Timeout and TScSSHShell.Timeout properties, e.g. to 120 second.
by ViktorV
Thu 07 Aug 2014 11:09
Forum: Universal Data Access Components
Topic: Post then Refresh different under 5.3.10
Replies: 3
Views: 1122

Re: Post then Refresh different under 5.3.10

I can't reproduce the problem. Please try to compose a small sample to demonstrate the problem and send it to viktorv*devart*com.
by ViktorV
Mon 04 Aug 2014 09:30
Forum: MySQL Data Access Components
Topic: MySQL Index Selection
Replies: 1
Views: 1353

Re: MySQL Index Selection

If you use the Locate method on Col_2, MySQL cannot use the index. If a table has a multiple-column index, any leftmost prefix of the index can be used by the optimizer to find rows. MySQL cannot use the index to perform lookups, because Col_2 do not form a leftmost prefix of the index.
More details about how MySQL uses indexes can be found at http://dev.mysql.com/doc/refman/5.0/en/ ... dexes.html
by ViktorV
Fri 01 Aug 2014 13:13
Forum: SQL Server Data Access Components
Topic: CRDBGrid - Column Width & Horiz. Scroll
Replies: 1
Views: 1297

Re: CRDBGrid - Column Width & Horiz. Scroll

To get the horizontal scrollbar displayed, you can change the Resize method in the CRGrid source code.
Add the following line:
ShowScrollBar(Handle, SB_HORZ, true);

I can not reproduce the problem with column width. If the dgeStretch option is not set in the TCRGrid.OptionsEx property, I can change column width without restrictions. Try to compose a small sample to demonstrate the problem and send it to viktorv*devart*com.
by ViktorV
Thu 31 Jul 2014 13:21
Forum: Universal Data Access Components
Topic: How to achieve efficient data exchange?
Replies: 2
Views: 1029

Re: How to achieve efficient data exchange?

Yes, the use of TUniLoader give good result.
by ViktorV
Thu 31 Jul 2014 13:04
Forum: dbExpress driver for PostgreSQL
Topic: Could not parse the GetTables metadata command
Replies: 1
Views: 6240

Re: Could not parse the GetTables metadata command

To avoid this issue, you should be corrected connection settings in the TSQLConnection component.

Connection Parameters:
DriverName=DevartPostgreSQL
DataBase=intelitime
HostName=186.202.166.79
User_Name=intelitime
Password=XXXXXX
FetchAll=True
EnableBCD=True
UseUnicode=False
by ViktorV
Wed 30 Jul 2014 07:39
Forum: SecureBridge
Topic: Need to recompile 6.3 sources under C++ Builder 2007
Replies: 1
Views: 1860

Re: Need to recompile 6.3 sources under C++ Builder 2007

We support source code only for Delphi.
Therefore, to recompile SecureBridge, you need Delphi.
by ViktorV
Wed 30 Jul 2014 07:36
Forum: SecureBridge
Topic: Exceptions thrown on TScSSHClient::Connect
Replies: 2
Views: 1673

Re: Exceptions thrown on TScSSHClient::Connect

Thank you for your advice.
Currently, TScSSHClient doesn't provide such functionality, but we will support it in the next SecureBridge build.