Responses interspersed...
When I do the custom query all I get for a SQL statement is this
SELECT * FROM "All Numbers"
Are you sure it isn't:
SELECT * FROM [All Numbers]
And if you're selecting by some criteria, there should
be a WHERE clause, such as
SELECT * FROM [All Numbers] WHERE name = '::Name::'
So are you sure about this SQL statement?
An example of a record I found that I was searching for was this. I
changed the names of course because I don't want them posted on here.
All I need to do is type Example% or even %Tim% and I will get this
record like I want.
Name Ext Location Title Type
Example, Tim 1000 x250 Corporate Account Manager
Now if I add or change an entry it won't find the added user. Like it
does in the example before. I type in Doe% or %John% like I did with
the other user and it doesn't show up and the format is the same. I am
copying and pasting and the only thing that I am changing in this
example is the name not the format .
Name Ext Location Title Type
Doe, John 1000 x251 Admin Casco Days Coor
Maybe it would help if I explain this in a little bit more detail. I
have an Excel spreadsheet that had a list of names. It is linked to a
Access Database. Whenever a new employee is added I add him to the
Excel spreadsheet. Then I go into Access and update the linked table.
If the Access and Excel tables are linked, why do you have to update
both by hand?
If you want to view by deparment it is okay because it is actually
linked to the Excel Spreadsheet so I do see the changes.
Are you viewing this in Excel or on a Web page?
Now the search engine is connected to the Access Database instead.
So I run a search on a new user or any changes I have made in the
database and they don't show the updated changes.
Is it possible that Excel still has the database locked, and that the
all queries therefore come up Not Found?
But if I go into the Access Database the changes really are there.
It is hard to explain sorry and thanks for any tips you can give.`
Perhaps by this time, the database is no longer locked.
If you're double-clicking the database in FrontPage, you should know
that FrontPage is downloading a copy (which requries only Read access)
and that Access then opens the copy. The Web server, however, opens the
database for update, and that will fail if Excel still has control.
In general, it's not a good idea to use the same physical database in
desktop applications and on the Web. Either do the whole application
in one or the other (desktop or Web) or use a database like SQL Server
that's designed for this sort of thing.
Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------