473,385 Members | 1,342 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Query Table

how can i only show certain records in a datagrid
based on user defined criteria

like only show records where amount = x ect?

WStoreyII

Thanks Again
Nov 20 '05 #1
3 929
Bind the grid to a Dataview based on the table then set it's rowfilter
property
http://www.knowdotnet.com/articles/expressions.html
http://www.knowdotnet.com/articles/a...rowfilter.html

"WStoreyII" <pa**********@sbcglobal.net> wrote in message
news:Xo*******************@newssvr25.news.prodigy. com...
how can i only show certain records in a datagrid
based on user defined criteria

like only show records where amount = x ect?

WStoreyII

Thanks Again

Nov 20 '05 #2
"WStoreyII" <pa**********@sbcglobal.net> schrieb
how can i only show certain records in a datagrid
based on user defined criteria

like only show records where amount = x ect?


If you won't get an answer here, try it in the right group:
microsoft.public.dotnet.framework.windowsforms.con trols
microsoft.public.dotnet.languages.vb.controls
--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #3
i need to filter it inside of the actual datagrid though
i am setting up a tree that will will have nodes that represent the values
in a column for instanance dates
and when the user clicks on a date in the tree it should only show records
that have that date ?

WSToreyII

"William Ryan eMVP" <bi**@NoSp4m.devbuzz.com> wrote in message
news:OT**************@TK2MSFTNGP10.phx.gbl...
Bind the grid to a Dataview based on the table then set it's rowfilter
property
http://www.knowdotnet.com/articles/expressions.html
http://www.knowdotnet.com/articles/a...rowfilter.html

"WStoreyII" <pa**********@sbcglobal.net> wrote in message
news:Xo*******************@newssvr25.news.prodigy. com...
how can i only show certain records in a datagrid
based on user defined criteria

like only show records where amount = x ect?

WStoreyII

Thanks Again


Nov 20 '05 #4

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

Similar topics

3
by: Harvey | last post by:
Hi, I try to write an asp query form that lets client search any text-string and display all pages in my web server that contain the text. I have IIS 6.0 on a server 2003. The MSDN site says...
3
by: GL | last post by:
Hi, Is there a way to add a field to an existing table using a query of some sort (without needing to manually add a field to the table). I know how to do it with a make table query, but I have...
4
by: Brian | last post by:
I hope this will make sense. I'm trying to filter the records in a table based on records in a 2nd table. The trick is, I can't use a query. I'm trying to filter down the number of records going...
6
by: jjturon | last post by:
Can anyone help me?? I am trying to pass a Select Query variable to a table using Dlookup and return the value to same select query but to another field. Ex. SalesManID ...
3
by: cover | last post by:
I have a table with 50 fields that receive input depending on whether that input came in from a 'shaker' form or a 'conveyor' form. Input from the 'conveyor' form might populate 25 fields while...
24
by: clare at snyder.on.ca | last post by:
I have a SQL query I need to design to select name and email addresses for policies that are due and not renewed in a given time period. The problem is, the database keeps the information for every...
5
by: Wired Hosting News | last post by:
I tried to be breif and give a scenario so as not to be overlooked because it was soooo long. Let me give you real world. I am a manufacturer of goods and produce 11 items that are distributed...
2
by: John T Ingato | last post by:
If I run a query that calculates the sales data for all the inventory level in a table, how do I go about saving that sales data into a permanent table? I plan I using this sales data often, and...
0
by: phlype.johnson | last post by:
I'm struggling to find the best query from performance point of view and readability for a normalized DB design. To illustrate better my question on whether normalized designs lead to more complex...
11
by: funky | last post by:
hello, I've got a big problem ad i'm not able to resolve it. We have a server running oracle 10g version 10.1.0. We usually use access as front end and connect database tables for data extraction....
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.