Passing a value in a URL to a custom list to filter

I have a custom sp 2007 list that has records by a value called "job ID".  I am trying to find a way to pass that in a url so that when the list display execute that only the records with the selected job ID will show.

Matt PinkstonEnterprise ArchitectAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kent DyerIT Security Analyst SeniorCommented:
Can you show what you have already?


Matt PinkstonEnterprise ArchitectAuthor Commented:
I just created a list called assignments that has the following fields.
Job ID
Employee Name
Employee ID

From my other custom list that has Job ID as a value I would like to build a link on one of the custom pages that points at assignments via assignments.aspx?job%20ID=xxx but not sure how to ensure that passing that value will make the list then only show the records that match the job ID.
Using SharePoint Designer, you can create a dataview webpart that has a parameter of type Query String URL, whereby the variable is passed into the page via the URL, plucked out by the DVWP and used as the filter.

See for details.

Depending on what version of SharePoint you have, you might have some solutions already available!  See Laura's post above.
IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.

Matt PinkstonEnterprise ArchitectAuthor Commented:
actually I figured a slicker way which was easy


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Matt PinkstonEnterprise ArchitectAuthor Commented:
found this solution doing further research on other sites plus trial and error
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SharePoint

From novice to tech pro — start learning today.