Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
First query of view very slow
Message
From
27/09/2004 11:43:20
 
 
To
27/09/2004 11:35:17
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00945788
Message ID:
00946296
Views:
13
>>>SELECT * FROM tacust WHERE tacust.cmrno = ?mcmrno AND tacust.actflag = "1"
>>>(in the form, the user enters a customer number (into the variable mcmrno) then it requeries the view)
>>

>Hello Mike, this is why I don't understand - the index and the where clause are exactly the same, CMRNO + ACTFLAG. :-\

Dodi,

You need two separate index tags: one on cmrno, and another one on actflag. Is that the way you have it?
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform