473,761 Members | 4,739 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Vo2Ado/MSDE Create Index problem

Hi,
i'm having a problem to create indexes.

STEP 1
-----------
Connection is OK (you can find the string at the end of the message)

Table ("Couleurs") creation is OK

STEP 2. Index Creation
---------------------------------
I'm trying to create an index on this table BUT the following code
does NOT work and my app does NOT return an error
1)
oConn:Execute(" CREATE INDEX Appelations ON Couleurs
(COLORNAME)",ad ExecuteNoRecord s,adCmdText)

or
2)
oCmd := AdoCommand{}
oCmd:ActiveConn ection := SELF:oConn
oCmd:CommandTex t := "CREATE INDEX Appelations ON
Couleurs (COLORNAME)"
oCmd:CommandTyp e := adCmdText
cbErr := ErrorBlock({|oE rr|_Break(oErr) })
BEGIN SEQUENCE
oRs:= oCmd:Execute(NI L,NIL,NIL)
RECOVER USING uVOError
END
ErrorBlock(cbEr r)

STEP 3 : a look at the results in the AdoCatalog
--------------------------------------------------------------------
Via Vo2Ado example "Explorer ADOX", i can see some index information.

The name of the index ("Appelation s") is shown.
The column ("ColorName" ) is also shown...

There is an AdoIndex object but when i have a look at the properties
(Clustered,Prim ary Key,Unique and Fil Factor), the listview "Value"
column returns .........."The index does not exist"...

How can i solve this problem ?

Thank you
Guy Deprez, Belgium
----------------------------------------------
Connection String:
Provider=SQLOLE DB.1;
Integrated Security=SSPI;
Persist Security Info=False;
Initial Catalog=archdat ;
Data Source=XP-MY094GEYUFG3\Bc aSoftware;
Use Procedure for Prepare=1;
Auto Translate=True;
Packet Size=4096;
Workstation ID=XP-MY094GEYUFG3;
Use Encryption for Data=False;
Tag with column collation when possible=False
Properties :
Current Catalog : archdat
Multiple Connections : .T.
Reset Datasource : NIL
Enable Fastload : .F.
Active Sessions : 0
Alter Column Support : 501
Asynchable Abort : .F.
Asynchable Commit : .F.
Pass By Ref Accessors : .T.
Catalog Location : 1
Catalog Term : base de données
Catalog Usage : 15
Column Definition : 1
NULL Concatenation Behavior : 1
Connection Status : 1
Data Source Name : XP-MY094GEYUFG3\Bc aSoftware
Read-Only Data Source : .F.
DBMS Name : Microsoft SQL Server
DBMS Version : 08.00.0760
Data Source Object Threading Model : 1
GROUP BY Support : 4
Heterogeneous Table Support : 3
Identifier Case Sensitivity : 8
Maximum Index Size : 900
Maximum Open Chapters : 0
Maximum Row Size : 8060
Maximum Row Size Includes BLOB : .F.
Maximum Tables in SELECT : 256
Multiple Parameter Sets : .T.
Multiple Results : 1
Multiple Storage Objects : .F.
Multi-Table Update : .F.
NULL Collation Order : 4
OLE Object Support : 33
Open Rowset Support : 8
ORDER BY Columns in Select List : .F.
Output Parameter Availability : 4
Persistent ID Type : 1
Prepare Abort Behavior : 2
Prepare Commit Behavior : 2
Procedure Term : procédure stockée
Provider Name : sqloledb.dll
Provider Friendly Name : Microsoft OLE DB Provider for SQL Server
OLE DB Version : 02.70
Provider Version : 08.10.9031
Quoted Identifier Sensitivity : 8
Rowset Conversions on Command : .T.
Schema Term : propriétaire
Schema Usage : 15
Server Name : XP-MY094GEYUFG3\BC ASOFTWARE
SQL Support : 283
Structured Storage : 1
Subquery Support : 31
Transaction DDL : 8
Isolation Levels : 1118464
Isolation Retention : 0
Table Statistics Support : 3
Table Term : table
User Name : dbo
Unicode Locale Id : 0
Unicode Comparision Style : 0
Column Level Collation Support : .T.
Character Set Name : NIL
Sort Order Name : NIL
Current Collation Name : French_CI_AS
Integrated Security : SSPI
Password : NIL
Persist Security Info : .F.
User ID : NIL
Initial Catalog : archdat
Data Source : XP-MY094GEYUFG3\Bc aSoftware
Window Handle : NIL
Locale Identifier : 1036
Prompt : 4
Extended Properties : NIL
Connect Timeout : 15
General Timeout : 0
Current Language : NIL
Network Address : NIL
Network Library : NIL
Use Procedure for Prepare : 1
Auto Translate : .T.
Packet Size : 4096
Application Name : NIL
Workstation ID : XP-MY094GEYUFG3
Initial File Name : NIL
Use Encryption for Data : .F.
Replication server name connect option : NIL
Tag with column collation when possible : .F.
Autocommit Isolation Levels : 4096
Quoted Catalog Names : .F.
Allow Native Variant : .F.
SQLXML Version : SQLXMLX
Jul 20 '05 #1
0 2817

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3101
by: izzy | last post by:
I was wondering if any of you guys can kindly help me in finding all the different versions of MSDE 2000 that came out since it's first release. I expected to find something similar like Sun's archive (http://java.sun.com/products/archive/index.html) for MSDE 2000 too but failed to find after a few hours of browsing at the Microsoft Download Center (http://www.microsoft.com/downloads/search.aspx?displaylang=en). They seem more into...
5
8432
by: Igor Solodovnikov | last post by:
Hi. I am trying to automatically backup transaction log when error 9002 happened. So i have created appropriate job and alert to catch this error. I have two instances of sql server under Windows 2000. One of them is full SQL Server, another is msde. When transaction log is full in full SQL Server error 9002 severity 17 state 2 is logged in sql server log and in Windows Application log. My alert firing my job. All is fine. But when...
3
6121
by: *no spam* | last post by:
I want to move my Access 2K database into MSDE. The Access Upsizing Wizard crashes (a known bug wi A2K), so I'm using the following suggested method: Access --> New --> Project (Existing Database) This asks for the name of the .adp file to create and then launches into the Data Link Properties dialog box (so far so good) I select my MSDE server from the drop-down, enter the sa account & passwd, attach a database file and try to...
1
1906
by: DB developer | last post by:
Hello friends I am trying to create a deployment project to distribute my VB.NET application with MSDE database. I am using VS.NET with MSDE 2000 deployment toolkit (release candidate) to achieve this. I am facing the following problems I am deploying the database by copying to .MDF and .LDF files in destination folders using deployment package. The problem is that I am not able to attach the database to the MSDE instance as a part of setup...
1
1407
by: Danny Liberty | last post by:
Hi, I am writing an application that uses MSDE to store data. Both application & MSDE run on the same computer. I want to regulate the operations done on the DB by the user. For example, I don't want to allow "standard" users to delete records, update certain fields, etc... I can regulate these rules within my program, but what if the user runs MSDE query for example on the DB and fetches the list of users & passwords from the DB ?
0
1303
by: Lou Arnold | last post by:
Why isn't a database created on the MSDE?? Network: Two Win2K Pro machines connected as peers. (No domains.) MS Access is on X, MSDE2000A is on H. MS Access is run under: Windows Administrator. MSDE is set for Windows Authentication only. On using the Microsoft SQL Server Database Wizard to create an Access
3
2534
by: Paul Aspinall | last post by:
Hi I want to package my C# winforms app, to be deployed with MSDE, as easily as possible for the end user. I want to create an MSI or Installshield (prefer MSI), to setup my C# app, together with MSDE (if not already installed), and the MSDE application DB. How can I detect if MSDE is already installed?? Has anyone does this?? How??
2
1693
by: SenthilVel | last post by:
Hi i have radio buttons in my Page and i am able to see some starnge behaviour with those. 1st : DSN 2nd radio button: MSDE the above 2 are in collection.
9
5759
by: HC | last post by:
Hello, all, I started out thinking my problems were elsewhere but as I have worked through this I have isolated my problem, currently, as a difference between MSDE and SQL Express 2005 (I'll just call it Express for simplicity). I have, to try to simplify things, put the exact same DB on two systems, one running MSDE and one running Express. Both have 2 Ghz processors (one Intel, one AMD), both have a decent amount of RAM (Intel system...
0
9554
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10136
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9989
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9925
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9811
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7358
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6640
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
3
3509
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2788
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.