|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Using VB to search in databases
I really dont know how to explain what i am trying to do but i will try my best. I am trying to make a program that will allow someone to add addresses to a database and then use the same program to search for entries by last name or phone number etc... what i need to know is how to code for a search form. i know i need to use SQL but im not shure how to allow the user to set search peramiters to make the SQL statement and then sort the records.
![]() |
|
#2
|
||||
|
||||
|
wow.. that's a really broad question. Can you send me your form so I can see what it looks like?
__________________
Fisherman "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." - A.Einstein |
|
#3
|
|||
|
|||
|
Maybe it's helpful..A simple implementation to test out SQL queries on MDB's. It displays the results in a HTML window on the page. When a valid database file is selected, the tables and fields can be browsed:
http://www.freevbcode.com/source/SQLTest.zip |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > Using VB to search in databases |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|