Search found 271 matches

by DemetrionQ
Fri 20 Sep 2013 16:24
Forum: PostgreSQL Data Access Components
Topic: numeric field and PGLoader.fieldtype
Replies: 9
Views: 2567

Re: numeric field and PGLoader.fieldtype

As a workaround, you can create all columns automatically using TPgLoader.CreateColumns method.
by DemetrionQ
Fri 20 Sep 2013 14:53
Forum: PostgreSQL Data Access Components
Topic: numeric field and PGLoader.fieldtype
Replies: 9
Views: 2567

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.
by DemetrionQ
Fri 20 Sep 2013 13:04
Forum: Universal Data Access Components
Topic: Error: PostgreSql Master-Detail in Delphi XE3
Replies: 11
Views: 1921

Re: Error: PostgreSql Master-Detail in Delphi XE3

Hello.
SELECT * FROM TableB WHERE field1 =: key -> Does not work
Please specify what you mean by "Does not work".

Try to set the TPgQuery.Options.QuoteNames option to False and check if the problem repeats.

Note: by default, PostgreSQL server creates fields with names in lowercase.
by DemetrionQ
Fri 20 Sep 2013 12:59
Forum: PostgreSQL Data Access Components
Topic: Composite Type + UnpreparedExecute => Exceptions and AV's
Replies: 5
Views: 3168

Re: Composite Type + UnpreparedExecute => Exceptions and AV's

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.
by DemetrionQ
Thu 19 Sep 2013 16:22
Forum: MySQL Data Access Components
Topic: Installing MyDAC 8 on Lazarus
Replies: 1
Views: 1760

Re: Installing MyDAC 8 on Lazarus

Hello.

1) In newer versions of MyDAC the ReadmeSrc.txt is replaced with the ReadmeSrc.html file.

2) If you use edition with source code:
Open %MyDAC%\Source\Lazarus1\dclmydac10.lpk file in Lazarus and press the Compile button. After that press Install button.

3) If you use trial edition:
Open %MyDAC%\Source\Lazarus1\dclmydac10.lpk file in Lazarus and press the Install button. Do not press the the Compile button for the package. Compiling will fail because there are no MyDAC sources.
Today we have released a new version of MyDAC (8.1.3), it is compatible with Lazarus 1.0.12.
by DemetrionQ
Fri 13 Sep 2013 09:26
Forum: Universal Data Access Components
Topic: Fast Reports Demo
Replies: 3
Views: 1291

Re: Fast Reports Demo

Hello.

FastReport 4 UniDAC Components for C++ Builder XE4 will be added in the next UniDAC version, which we plan to release next week.
by DemetrionQ
Wed 11 Sep 2013 14:21
Forum: Universal Data Access Components
Topic: Delphi XE4 with UniDAC getting Access violation error
Replies: 5
Views: 2629

Re: Delphi XE4 with UniDAC getting Access violation error

If any other questions come up, please contact us.
by DemetrionQ
Wed 11 Sep 2013 11:56
Forum: Universal Data Access Components
Topic: Delphi XE4 with UniDAC getting Access violation error
Replies: 5
Views: 2629

Re: Delphi XE4 with UniDAC getting Access violation error

The point is that you are using the TZSQLProcessor component, which TZSQLProcessor.Connection property has the Nil value. As a result, an attempt to execute the following code:

Code: Select all

  ZSQLProcessor.Connection.StartTransaction;
raises Access Violation.

To solve the issue, do the following edits in your project:
  - replace TZSQLProcessor with TUniScript;
  - instead of the TZSQLProcessor.Script property use the TUniScript.SQL property;
  - make sure that the TUniScript.Connection property points to a configured TUniConnection component.
by DemetrionQ
Tue 10 Sep 2013 09:36
Forum: Universal Data Access Components
Topic: Delphi XE4 with UniDAC getting Access violation error
Replies: 5
Views: 2629

Re: Delphi XE4 with UniDAC getting Access violation error

Hello.

Please send a sample demonstrating the problem and the scripts for creating and filling the tables to dmitryk*devart*com .
by DemetrionQ
Tue 10 Sep 2013 08:54
Forum: SecureBridge
Topic: Problem using SSHClient and SSHChannel
Replies: 5
Views: 1796

Re: Problem using SSHClient and SSHChannel

If any other questions come up, please contact us.
by DemetrionQ
Mon 09 Sep 2013 15:57
Forum: SecureBridge
Topic: Problem using SSHClient and SSHChannel
Replies: 5
Views: 1796

Re: Problem using SSHClient and SSHChannel

Hello.

1) When using several listening ports simultaneously (SourcePort), a TSSHChannel instance should be created for each of them.
2) When using several applications with TSSHChannel (or several TSSHChannel instances in one application), each TSSHChannel instance should have a unique TSSHChannel.SourcePort property value, since every TSSHChannel instance opens a socket for listening via the port, specified in the TSSHChannel.SourcePort property.
by DemetrionQ
Mon 09 Sep 2013 15:52
Forum: SecureBridge
Topic: ssh client demo - freebsd
Replies: 2
Views: 1741

Re: ssh client demo - freebsd

Hello.

By default, Putty is trying to use both server authentication approaches: Password and KeyboardInteractive. On connection, TScSSHClient uses only one approach, that is set in the TScSSHClient.Authentication property (it is set to atPassword by default).

We are glad to see you have solved the problem. If any more issues occur, please feel free to contact us.
by DemetrionQ
Mon 09 Sep 2013 08:27
Forum: Universal Data Access Components
Topic: How to use UniEncryptor
Replies: 2
Views: 1848

Re: How to use UniEncryptor

Hello.

TUniEncryptor is used in conjunction with TUniQuery or TUniTable. TUniEncryptor works as follows. When changing data via TUniQuery or TUniTable using Insert/Edit/Post, then the linked TUniEncryptor component will encrypt the specified fields only for the current edited record. Similarly, this component will decrypt data in these fields when opening DataSet. If you have a table filled with unencrypted data, then using this component will encrypt only added or changed records. Unchanged records will not be encrypted.
Note that not all data types can be encrypted.
You can find more detailed information on using TUniEncryptor in the "Data Encryption" article of the UniDAC help ( http://www.devart.com/unidac/docs/encryption.htm )
by DemetrionQ
Fri 06 Sep 2013 15:01
Forum: Universal Data Access Components
Topic: Trying to upload image via UniStoredProcedure
Replies: 1
Views: 1028

Re: Trying to upload image via UniStoredProcedure

Hello.

When working with Large Object, you can load data to the server in the following way:

when using TUniTable:

Code: Select all

  UniTable1.SpecificOptions.Values['PostgreSQL.OIDAsInt'] := 'False';
  UniTable1.Open;
  UniTable1.Append;
  (UniTable1.FieldByName('OID_field') as TBlobField).LoadFromStream(strImage);
  UniTable1.Post;
when using TUniStoredProc:

Code: Select all

  UniStoredProc1.ParamByName('OID_param').LoadFromStream(strImage, ftOraBlob);
  UniStoredProc1.ExecProc;
by DemetrionQ
Fri 06 Sep 2013 11:36
Forum: MySQL Data Access Components
Topic: Using MyQuery in Threads
Replies: 1
Views: 1230

Re: Using MyQuery in Threads

Hello.

The right way to work in a multithreaded application is to have connection (the TMyConnection component) in each thread. You can have infinite amount of queries running through one connection in one thread, but you should not run several queries from several threads through one connection.