Re: qeury other list using input from selected item in current list
- From: "Tobias Zimmergren" <tobias.zimmergren@xxxxxxxxxxxx>
- Date: Tue, 6 May 2008 10:04:59 +0200
Hi,
If you decide to develop something yourself, have a look at the following:
Look into SPQuery and SPSiteDataQuery.
With SPQuery you can query a list based on a CAML (Collaborative Application Markup Language) statement where you can specify what results you'd like.
See http://www.zimmergren.net/archive/2008/05/05/how-to-easily-construct-your-caml-queries-with-spquery.aspx for details on how you can construct your SPQuery.
Regarding SPSiteDataQuery, it's a class that allows you to "cross list query" objects from different lists or objects in your site collection. There's plenty of information about that on google :)
At least it's a starting point :)
Hope it helps
--
Best Regards,
Tobias Zimmergren
http://www.zimmergren.net
"Tribal" <phekkenberg@xxxxxxxxx> skrev i meddelandet news:973a2d3c-1fd7-4135-9b2d-847759e057ee@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello everyone,
I'm currently working on a sharepoint site where I want to manage a
lot of information sharing. I'm looking for something which I think
should be possible but I can't figure out how to do it.
I have two custom lists, one with general information about a database
and a second with queries for the databases. The list with query's is
quite basic. A description, the query and the database which the query
applies to (using a lookup value from the databases list). This al
works fine. I also want this to work the other way around, without
having to select the query's. So when I look at the details of a
database, I want to get a list of query's which are developed for the
specific database. All the information should be there, since I
specify a database for each query.
Any help would be appriciated. I think I might have to develop
something myself for this, so if anybody has an example on how to
that, that would be great!
Kind regards,
.
- Follow-Ups:
- References:
- Prev by Date: Re: Upgrading Windows SharePoint Services 2.0 scalable hosting mod
- Next by Date: Default.aspx is not automatically loaded
- Previous by thread: qeury other list using input from selected item in current list
- Next by thread: Re: qeury other list using input from selected item in current list
- Index(es):
Relevant Pages
|