Hello!
I frequently was receive error "Object or provider is not capable of performing requested operation" on AdoOpenSchema.
It's fired because of memory error:
When constant value of adSchemaColumns = $00000004 can be $12F364?
Search found 9 matches
- 07.06.2010, 10:38
- Forum: ADO
- Topic: ADO OpenSchema Problem
- Replies: 0
- Views: 1786
- 04.06.2010, 12:52
- Forum: 6.6 - stable
- Topic: Delphi 6,7 bug with Zeos 6.6.4 and higher
- Replies: 0
- Views: 480
Delphi 6,7 bug with Zeos 6.6.4 and higher
DP.pas have a bag with implementation TLargeintField.SetVarValue.
There is a
instead of
This bug is not fired in 6.6.1 because it's use TIntegerField instead of TLargeintField
There is a
Code: Select all
raise AccessError('Variant');
instead of
Code: Select all
SetAsLargeint(Value);
- 12.04.2010, 07:38
- Forum: ADO
- Topic: ADO+MSSQL2K+NamedPipes
- Replies: 4
- Views: 1945
- 09.04.2010, 16:30
- Forum: ADO
- Topic: ADO+MSSQL2K+NamedPipes
- Replies: 4
- Views: 1945
- 09.04.2010, 14:24
- Forum: ADO
- Topic: ADO+MSSQL2K+NamedPipes
- Replies: 4
- Views: 1945
ADO+MSSQL2K+NamedPipes
Hello! I use MSSQL 2000 Developer Edition and wish to connect from network to my PC. I want use named pipes, but I can't understand, how to implement this with ZConnection? Thank for help and ideas! P.S. I can't use Microsoft OLE DB Provider for ODBC drivers because it can't work correctly with Date...
- 08.04.2010, 15:24
- Forum: 6.6 - stable
- Topic: Default values after Insert but before Post?
- Replies: 2
- Views: 403
I have partialy solved this problem by following method
Add ROQuery for select default falues and realize next procedure which called in AfterInsert event: procedure TForm1.FillDefaultValues(ds: TDataSet); var strSQLDefValues: String; i: Integer; DefValue: String; begin if not (ds is TZAbstractRODataset) then exit; if ds.State <> dsInsert then exit; qrDe...
- 06.04.2010, 14:03
- Forum: 6.6 - stable
- Topic: Unit:ZDbcGenericResolver. procedure TZGenericCachedResolver.
- Replies: 1
- Views: 236
Unit:ZDbcGenericResolver. procedure TZGenericCachedResolver.
procedure TZGenericCachedResolver.DefineCalcColumns(Columns: TObjectList; RowAccessor: TZRowAccessor); var I: Integer; begin for I := 1 to Metadata.GetColumnCount do begin if RowAccessor.IsNull(I) and (Metadata.GetTableName(I) <> '') and (Metadata.GetDefaultValue(I) <> '') then begin Columns.Add(TZ...
- 06.04.2010, 10:14
- Forum: 6.6 - stable
- Topic: Default values after Insert but before Post?
- Replies: 2
- Views: 403
Default values after Insert but before Post?
Hi!
Whether developers can to give instruction how to see default values in Tdbgrid after the operation of Insert, but to the operation of Post. I.e. I want to offer to the user to enter already the partly filled record in a table?
Whether developers can to give instruction how to see default values in Tdbgrid after the operation of Insert, but to the operation of Post. I.e. I want to offer to the user to enter already the partly filled record in a table?
- 06.04.2010, 10:02
- Forum: SQLite
- Topic: Autoinc primary key not refreshed after post
- Replies: 6
- Views: 1903
Hi!!!
Try this RefreshSQL:
select * from mytable where id = (select @@identity)
Edited:
Most correctly:
Try this RefreshSQL:
select * from mytable where id = (select @@identity)
Edited:
Most correctly:
Code: Select all
select * from mytable
where
((:OLD_id IS NULL AND mytable.id = (select @@identity)) OR (mytable.id = :OLD_id))