My project consists of a user interface designed in Visual Studio 2010 Express. I have it linked to an Access database. At this time, I have two text boxes that the user will enter a number. I want to be able to write a query that will take the first and second number and pull the information from the database that is equal to or greater than the user entered number. I think the logic would be something like:
Now, I am assuming I have to dim numOne and numTwo. Do these need to be the column names of the data in Access? Also, when I design a new form, how do I tell it to put the data from the database?
Thanks for any help you can provide.
Also, my data is in one table with about 20 columns. I want to pull data from 10 of those columns based on if it meets the user specified criteria.
Code:
If numOne => {user entered number here} or If numTwo => {user entered 2nd number here} Then {open new form with columns of data}
Thanks for any help you can provide.
Also, my data is in one table with about 20 columns. I want to pull data from 10 of those columns based on if it meets the user specified criteria.
Comment