Welcome to dbFreaks.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Filtering records using textbox on form

 
   Database Help (Home) -> Visual Basic RSS
Related Topics:
SQL and VB- how do u count records - hi, i've got a table in a access file, and i want to display a number on a form, a total unmber of a record. e.g. i have a table with paper and i want to display the total number of and i want to do it as a click..

New record with data from other form - I would like to open a addrecord form. In this form I would like teh Field DebNr to be filled with the value of the field DebNr in my (open) form FrmStam. I used the code ; Private Sub As Integer) If

Open form to add record with fielddata from an open form - How do I open a form to add a record and get the data for 1 field from a specific field in a open form. I have used the following code ; Private Sub As Integer) If Then = _ ..

sql query returns in wrong format - Hi, Hope someone can help me with this. I have MS SQL 2000 database where i have Table and there a column wich is data type All data in this column is in form So why when i run .asp page with simple query to..

arrays - is there a way to the contents of an array (looping through the array) and storing each item in a comma delimited string? Thanks!
Next:  Cardinality "highly unusual"  
Author Message
Ian Davies

External


Since: Feb 06, 2005
Posts: 10



(Msg. 1) Posted: Tue Feb 15, 2005 7:40 am
Post subject: Filtering records using textbox on form
Archived from groups: comp>lang>basic>visual>database (more info?)

Can I use the value of a bound textbox on an open form, as a criteria in a
query.
If so what would be the correct code for the SQL.
If not how can I hold the required value (number) that is selected by the
user from a
combo box at startup, so that I can use this value to filter records on
subsequently opened forms

Thanks
Ian

 >> Stay informed about: Filtering records using textbox on form 
Back to top
Login to vote
Randy Day

External


Since: Oct 06, 2003
Posts: 50



(Msg. 2) Posted: Tue Feb 15, 2005 10:36 am
Post subject: Re: Filtering records using textbox on form [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ian Davies wrote:

 > Can I use the value of a bound textbox on an open form, as a criteria in a
 > query.
 > If so what would be the correct code for the SQL.
 > If not how can I hold the required value (number) that is selected by the
 > user from a
 > combo box at startup, so that I can use this value to filter records on
 > subsequently opened forms

<a style='text-decoration: underline;' href="http://juicystudio.com/tutorial/vb/database.asp" target="_blank">http://juicystudio.com/tutorial/vb/database.asp</a>

Near the bottom of the page are some examples
of building a query from textbox values.


HTH<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Filtering records using textbox on form 
Back to top
Login to vote
Display posts from previous:   
   Database Help (Home) -> Visual Basic All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]