Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Queries / July 2006

Tip: Looking for answers? Try searching our database.

Newbie: simple substitution question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mart - 25 Jul 2006 10:08 GMT
Hi all

I posted this question on the MS Frontpage forum but didn't get any
responses - hopefully here!

I've got a simple DB with 2 fields - one has placenames from a series of
maps, and the second a one-letter code for the specific map on which the
placename occurs.

What I'm trying to achieve is to be able to display selected user requested
data on a web page, using MS Frontpage's database functionality.
Example: user is looking for which map(s) contain placename XYZ.
Seems very simple, but I don't know how and where to substitute the
one-letter code for the actual map name in the results.

Any help appreciated :-)

Tx

Mart
Michel Walsh - 25 Jul 2006 15:06 GMT
Hi,

Highly depends of the context. If there is a single map where the place name
can appear, a DLookup ?

DLookup("secondFieldNameHere", "tableNameHere", "firstFieldNameHere= 'New
York' " )

would return the code in the second field listed against the only occurrence
of New York in the first field (or the first occurrence, if it appears many
times).

Hoping it may help,
Vanderghast, Access MVP

> Hi all
>
[quoted text clipped - 17 lines]
>
> Mart
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.