Search found 2845 matches

by Plash
Wed 20 Jan 2010 09:26
Forum: Oracle Data Access Components
Topic: strange odac behaviour in TOraQuery -ODAC 6.90.0.54 bcb 2009
Replies: 3
Views: 1669

You don't need to call the Next method in your loop. When you call the Delete method, the query moves to the next record automatically.
by Plash
Wed 20 Jan 2010 09:07
Forum: InterBase Data Access Components
Topic: Problem with Install IBDAC 3.10.0.10 - I'm user registered
Replies: 1
Views: 1548

Do the following:
- uninstall IBDAC;
- search your computer for DBAccess.* and MemData.* and delete these files if they are found;
- install IBDAC again.
by Plash
Wed 20 Jan 2010 09:06
Forum: Universal Data Access Components
Topic: Working with one record at a time
Replies: 10
Views: 2482

Which provider are you using? Some providers require setting the DMLRefresh property to True to get new values from the server.
by Plash
Wed 20 Jan 2010 09:05
Forum: InterBase Data Access Components
Topic: UseUnicode always creates ftWideString fields?
Replies: 7
Views: 1985

InterBase returns all fields in UTF8 when the connection character set is UTF8.

Use the information from the metadata tables like RDB$FIELDS to get fields character set.
by Plash
Wed 20 Jan 2010 08:47
Forum: Universal Data Access Components
Topic: Connect to multiple instances of oracle
Replies: 1
Views: 1449

Use the Server property to set Oracle database name.
by Plash
Wed 20 Jan 2010 08:35
Forum: dbExpress driver for InterBase & Firebird
Topic: TLargeintField not being used
Replies: 15
Views: 6120

We will add the EnableLargeint option to the next build of PostgreSQL driver.
by Plash
Tue 19 Jan 2010 15:03
Forum: PostgreSQL Data Access Components
Topic: Converting Database
Replies: 3
Views: 2381

Yes, you are right.
by Plash
Tue 19 Jan 2010 12:14
Forum: InterBase Data Access Components
Topic: expression evaluation error in SQL select with case-statemnt
Replies: 1
Views: 1614

Please provide us a script for creating the table.
by Plash
Tue 19 Jan 2010 10:16
Forum: Oracle Data Access Components
Topic: SQL strings with Unicode and Direct=True
Replies: 10
Views: 2039

You should enable OCI Unicode environment to use Unicode characters in SQL statements. Set the OCIUnicode global variable from the OraCall unit to True.
by Plash
Tue 19 Jan 2010 10:13
Forum: Universal Data Access Components
Topic: Working with one record at a time
Replies: 10
Views: 2482

Use a SQL statement with WHERE condition:

SELECT * FROM MyTable
WHERE id = :id

Set the ID parameter to ID of a record that you want to edit. Then open or refresh the query. If you need to add a new record, you can set the parameter to Null.
by Plash
Tue 19 Jan 2010 10:04
Forum: Oracle Data Access Components
Topic: Why i can't use first parameter of TOraStoredProc like all other parameters, when then they are cursors?
Replies: 1
Views: 1374

TOraStoredProc opens the first cursor inside the component itself.

Use TOraSQL to prevent this. Copy the SQL statement from TOraStoredProc to TOraSQL and execute the procedure using TOraSQL.
by Plash
Tue 19 Jan 2010 10:03
Forum: PostgreSQL Data Access Components
Topic: Converting Database
Replies: 3
Views: 2381

You can use SERIAL data type. PostgreSQL automatically creates a sequence for such fields. Use the following statement to set the last value for a sequence:

Code: Select all

SELECT pg_catalog.setval('seq_name', LastVal, false)
by Plash
Mon 18 Jan 2010 11:45
Forum: Oracle Data Access Components
Topic: ODAC + Windows 7 = no listener ?
Replies: 1
Views: 1843

Please see my reply to your e-mail.
by Plash
Mon 18 Jan 2010 09:54
Forum: dbExpress driver for InterBase & Firebird
Topic: TLargeintField not being used
Replies: 15
Views: 6120

We will add the EnableLargeint driver option to the next build.
by Plash
Mon 18 Jan 2010 09:36
Forum: dbExpress driver for InterBase & Firebird
Topic: Wrong field types with UseUnicode and non-UTF8 fields
Replies: 3
Views: 2774

The character set used in TStringField depends on Windows regional settings. So both TStringField and TWideStringField can contain non-English characters.

TWideStringField is used for any character set when UseUnicode=True because many character sets cannot be represented in TStringField (not only UTF8).