Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 4th, 2006, 05:50 PM
Registered User
 
Join Date: Mar 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Google-like SQL search

Hi,

Is it possible to search all fields of all tables in a database with a single SQL statement, other than putting it together field by field and table by table?

John
 
Old April 5th, 2006, 07:13 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

You could use code to do this. That is a tall order. Why would you need to do this? Especially since some fields are presumably autonumber, date, currency, etc, and not just text. What sort of things do you need to find?

mmcdonal
 
Old April 7th, 2006, 09:52 PM
Registered User
 
Join Date: Mar 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Just to make it easier on the users. The project has 8 tables, lots of fields in each, and much of data could be possibly be in several places. I've already done it with code - just messy, and it created the mother of all SQL statements. Wanted to be sure I wasn't overlooking a simply, cleaner way.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing Google search with Java jvlaine Java Basics 3 December 15th, 2007 03:08 AM
Regarding search in SQL SERVER 2005 comvidyarthi SQL Language 0 March 27th, 2007 09:35 AM
Google Adsense for Search script in asp.net page claudew BOOK: ASP.NET Website Programming Problem-Design-Solution 6 September 20th, 2004 08:59 PM
SQL search SoC Classic ASP Databases 1 August 20th, 2004 08:52 AM
How can I search at Yahoo or Google ? bapechun Classic ASP Basics 1 March 26th, 2004 11:08 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.