Multi-catalogs but with 2 scopes
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS Index Server > Multi-catalogs but with 2 scopes




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Multi-catalogs but with 2 scopes  
abbott


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-20-04 04:34 AM

you can work like this:

suppose you have catalog a and b , and you want to add=20
scope a1 and a2 to a , while b1 and b2 to b.
q.Catalog=3D"a , a , b , b"
Util.addScopeToQuery q , a1 , "deep"
Util.addScopeToQuery q , a2 , "deep"
Util.addScopeToQuery q , b1 , "deep"
Util.addScopeToQuery q , b2 , "deep"

>-----Original Message-----
>Hi:
>
>I=B4m using 2 catalogs, and i declare 2 scopes, one for=20
each  catalog...
>
>Util.AddScopeToQuery objQuery, "\","deep"=20
>Util.AddScopeToQuery objQuery, "\","deep"=20
>
>This is working !!!!
>
>But I need to use 2 or maby 3 scopes for each catalog, is=20
there any way that i can specify that?
>Is there any way to specify wich catalog I=B4m using when I=20
declare the scope...?=20
>
>I hope you can help... thankssss
>
>
>
> ****************************************
******************
************
>Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
>Comprehensive, categorised, searchable collection of=20
links to ASP & ASP.NET resources...
>.
>





[ Post a follow-up to this message ]



    Re: Multi-catalogs but with 2 scopes  
ncolmero@elnorte.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-20-04 11:35 PM

*you can work like this:

*suppose you have catalog a and b , and you want to add=20
*scope a1 and a2 to a , while b1 and b2 to b.
*q.Catalog=3D"a , a , b , b"
*Util.addScopeToQuery q , a1 , "deep"
*Util.addScopeToQuery q , a2 , "deep"
*Util.addScopeToQuery q , b1 , "deep"
*Util.addScopeToQuery q , b2 , "deep"


It works!!!!!!!!
Thank very much...

I have another question, i have Q.MaxRecords=100 and if i have
q.Catalog="a , a , b , b"  it gave 400, 100 for each catalog, is there any w
ay that i could have only 100?


 ****************************************
******************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET 
resources...





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:15 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register