Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > Database and Reporting > Search Form Using Database


Reply
 
Thread Tools Display Modes
  #1  
Old 12-27-2007, 06:48 PM
djcottrell djcottrell is offline
Newcomer
 
Join Date: Dec 2007
Posts: 1
Default Search Form Using Database


First off I would like to thank anyone that lends me a helping hand. I use to work a lot with VB but over the last 5 years I have forgot most of what I had learned. I am trying to make a search form for my web page to make it easier for my customers to find the correct product. Ill try to lay out what I am trying to do the best I can.


Access database

Car Make Car Model Year Engine Size Conversion Kit

Ford Thunderbird 1988 302 EFI 8VAB-EV1
Ford Mustang 1988 302 EFI 8VAB-EV1

and so on for all makes models and years


I would like for my future customers to be able to click on a drop down box for make, model, year and engine size and with the click of a search button have the form send them to the web page connected to the conversion kit. I have been talking with many people and I have not been able to get an answer on the best way or easiest way to make a this form. If anyone could help with some code or even some tutorials that I could read to get me going it would be highly appreciated.

Thanks again
Douglas J Cottrell II
Reply With Quote
  #2  
Old 12-28-2007, 02:53 AM
Shurik12 Shurik12 is offline
Steppe Walker

Retired Moderator
* Expert *
 
Join Date: Jul 2002
Location: Ukraine/Russia/Belgium
Posts: 7,227
Default

Hi,

Welcome. As for the tutorials, I rather don't know how what you've been using/planning to use for to build your site PHP, ASP....? Search for the corresponding term on the net and you'll get plenty of hits.

In the help files (or on-line) you might also want to check
1) how to open an ADODB connection to the underlying database
2) how to open an ADODB recordset
(concatenating values from the dropdown boxes, etc might look like
Code:
select * from table1 where field1= '" & MyComboBox.Text & "'....

Also check a number of relevant links here
http://www.xtremevbtalk.com/showthread.php?t=39722

When you have more concrete questions, don't hesitate to come back.

Regards,
Shurik.

p.s. By the way putting Access database behind a web-application is not the best idea to say the least. I think you'll have to overweigh using another database.
__________________
"A diaper is not like a computer that makes satisfying burbling noises from time to time, hinting at great inner complexity." Malcolm Gladwell

"I'm sitting here completely surrounded by no beer." Onslow, 'Keeping up appearances'

Last edited by Shurik12; 12-28-2007 at 03:09 AM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->