Search found 1951 matches

by MaximG
Thu 17 Mar 2022 13:27
Forum: VirtualDAC
Topic: Memo and DBGrid
Replies: 2
Views: 9613

Re: Memo and DBGrid

VirtualQuery is built using the SQLite engine. When the SQLite engine cannot determine the type of the field returned by the query, we create the corresponding Field of the Memo type. In order for such fields to be created with the type required by a developer, you can use DataTypeMapping, a special mechanism provided by our components. You can use this feature both in Design Time with the help of VirtulalQuery Editor, and in Run Time:

VirtualQuery.DataTypeMap.AddFieldNameRule ('My_Memo_txt', ftString, 255);
by MaximG
Thu 24 Feb 2022 12:39
Forum: Oracle Data Access Components
Topic: Output stream, spooling
Replies: 7
Views: 23456

Re: Output stream, spooling

Indeed, a standard dataset component cannot provide a unified text output from disparate queries. This task can be accomplished by using specialized reporting components.
by MaximG
Thu 24 Feb 2022 12:38
Forum: Universal Data Access Components
Topic: How to connect to Oracle 11g database with Direct mode? URGENT
Replies: 1
Views: 2188

Re: How to connect to Oracle 11g database with Direct mode? URGENT

When using the Direct mode, you don't have to set the HomeName property or install any additional components.
The Direct mode is embedded in our components. Please try to specify the server address as follows: servername:1521:sn=XE, where servername is the hostname of the Windows 10 instance running in the VM.
by MaximG
Thu 17 Feb 2022 15:22
Forum: Universal Data Access Components
Topic: Oracle - error "value is too long" assigning huge string to clob parameter
Replies: 1
Views: 1232

Re: Oracle - error "value is too long" assigning huge string to clob parameter

When using CLOB parameters, we recommend explicitly specifying their type. In any case, we will investigate the behavior you describe. For this, compose and send us a small sample, which when executed causes the "value is too long" error. It is convenient to do it using the e-support form (https://www.devart.com/company/contactform.html)
by MaximG
Thu 17 Feb 2022 14:05
Forum: Universal Data Access Components
Topic: Unidac - SQLite - VACUUM Into
Replies: 3
Views: 2082

Re: Unidac - SQLite - VACUUM Into

We are glad that you found a necessary solution. Please don't hesitate to contact us with questions concerning UniDAC usage.
by MaximG
Wed 09 Feb 2022 13:06
Forum: Oracle Data Access Components
Topic: Using SQL*Net Native Encryption with Direct TCP/IP
Replies: 7
Views: 24149

Re: Using SQL*Net Native Encryption with Direct TCP/IP

No, it wasn't fixed in ODAC 12.0.2. We are working on the necessary changes.
by MaximG
Wed 09 Feb 2022 11:38
Forum: Oracle Data Access Components
Topic: Call a DB function / procedure from Delphi
Replies: 1
Views: 18864

Re: Call a DB function / procedure from Delphi

Thank you for your patience. We will investigate the described issue and let you know the results shortly.
by MaximG
Wed 09 Feb 2022 11:12
Forum: Oracle Data Access Components
Topic: Output stream, spooling
Replies: 7
Views: 23456

Re: Output stream, spooling

As I understand, you want to combine output from multiple queries into a single text output. You can use OraQuery to run queries and save the results to a file in the XML format, which you can later parse and produce a report.
by MaximG
Tue 08 Feb 2022 13:53
Forum: Universal Data Access Components
Topic: Unidac - SQLite - VACUUM Into
Replies: 3
Views: 2082

Re: Unidac - SQLite - VACUUM Into

To execute the VACUUM command in the Direct mode, use the ForceCreateDatabase option :

Code: Select all

...
  UniConnection: TUniConnection;
begin
  UniConnection := TUniConnection.Create(nil);
  try
    UniConnection.ProviderName := 'SQLite';
    UniConnection.Database := 'C:\Users\Fejleszto\Documents\test.db';
    UniConnection.SpecificOptions.Values['Direct'] := 'True';
    UniConnection.SpecificOptions.Values['ForceCreateDatabase'] := 'True';
    UniConnection.Connect;
    UniConnection.ExecSQL('VACUUM main INTO ''C:\\Users\\Fejleszto\\Documents\\test123.db''');
  finally
    UniConnection.Free;
  end;
...
by MaximG
Fri 04 Feb 2022 14:33
Forum: EntityDAC
Topic: EntityDac/MyDac Lost Connection
Replies: 1
Views: 11355

Re: EntityDac/MyDac Lost Connection

Hi!
Thanks for contacting us! Working with the TMyConnection class is done by calling EntityDAC.DataProvider.MyDAC.
This provider does not provide the ability to use the TMyConnection features you are interested in.
A possible solution is to create your own provider. Implementation examples of such providers are provided with EntityDAC :

[EntityDAC folder]\Demos\DataProviders\
by MaximG
Fri 04 Feb 2022 11:08
Forum: Oracle Data Access Components
Topic: Problem with DBMS_OUTPUT.GET_LINES
Replies: 8
Views: 28669

Re: Problem with DBMS_OUTPUT.GET_LINES

Hi Jens!

Thanks for following up. We are currently investigating various ways of solving this issue. We will keep you posted.
by MaximG
Fri 04 Feb 2022 11:07
Forum: ODBC Drivers
Topic: SQL Server - Linked Server to Salesforce JOINs error
Replies: 1
Views: 30073

Re: SQL Server - Linked Server to Salesforce JOINs error

Hi Mark!

Thanks for your inquiry!
Please Try running the query you provided using the OPENQUERY (or EXEC) statement and let us know the results.
by MaximG
Thu 03 Feb 2022 11:03
Forum: Universal Data Access Components
Topic: Unidac - Oracle - Batch
Replies: 7
Views: 5034

Re: Unidac - Oracle - Batch

Indeed, setting up an installed Oracle client is an additional operation that does not depend on the operation of our access components: https://www.oracle.com/database/technol ... lang.html
We will add the relevant recommendation to our Knowledge Base so that our users can find the right solution as quickly as possible if necessary.
To set the required codepage you can try using the CHARSET option: https://docs.devart.com/unidac/using-oracle.htm
by MaximG
Wed 02 Feb 2022 19:49
Forum: MySQL Data Access Components
Topic: Free vs Delete
Replies: 2
Views: 16469

Re: Free vs Delete

Please feel free to contact us if you have any questions
by MaximG
Fri 28 Jan 2022 11:56
Forum: Universal Data Access Components
Topic: unidac 9.1.1 sqlite provider
Replies: 1
Views: 4113

Re: unidac 9.1.1 sqlite provider

Please describe the issue in more detail. Which exact error you get when attempting to load UniDAC 9.1.1 ?