![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
when using sql anywhere 11.0.1 and has patched to 2308, I found that in Delphi 7, using ADOconnection and adotable, click the tablename, it will apper an "object or the provider can not perform the required operation" ,and in the sqlwhywhere 10.0 version, adotable can not using the table who have a primary key |
#3
| |||
| |||
|
|
What happens when you add either a primary key, or a unique table constraint or even just a unique not null index? Do both problems go away? "antx3" <antx3111 (AT) 163 (DOT) com> wrote when using sql anywhere 11.0.1 and has patched to 2308, I found that in Delphi 7, using ADOconnection and adotable, click the tablename, it will apper an "object or the provider can not perform the required operation" ,and in the sqlwhywhere 10.0 version, adotable can not using the table who have a primary key |
#4
| |||
| |||
|
|
From: antx3111 <antx3111 (AT) 163 (DOT) com> 10/11/2009 02:03 AM Thanks for your help. One has a primary key of the table, such as Create table t1 (dm Char (2) not Null, mc Varchar (20) Null, CONSTRAINT "t1" Primary Key ( "dm" ASC) ); In Delphi 7, using ADO connection (Provider = SAOLEDB.11; Password = sql; User ID = dba; eng = mydb) and adotable ,datasoucer and dbgrid control ; and there are nothing for choose in the adotable.IndexName properties, and when running the simple program, it will show "index file t1 not found". "Nick Elson [Sybase iAnywhere]" <@nick@.@elson@@sybase@.@com@> wrote in message news:4acdf762 (AT) forums-1-dub (DOT) .. What happens when you add either a primary key, or a unique table constraint or even just a unique not null index? Do both problems go away? "antx3" <antx3111 (AT) 163 (DOT) com> wrote when using sql anywhere 11.0.1 and has patched to 2308, I found that in Delphi 7, using ADOconnection and adotable, click the tablename, it will apper an "object or the provider can not perform the required operation" ,and in the sqlwhywhere 10.0 version, adotable can not using the table who have a primary key |
![]() |
| Thread Tools | |
| Display Modes | |
| |