A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Simple Query Question



 
 
Thread Tools Display Modes
  #1  
Old June 3rd, 2004, 10:24 AM
Rebecca
external usenet poster
 
Posts: n/a
Default Simple Query Question

Greetings. I deeply appreciate the help the MS MVPs have
given me (especially John Spencer). I have a quick
question about the following query that Mr. Spencer gave
me yesterday:

SELECT DISTINCT [A],
Concatenate("SELECT [C] FROM BIBLE WHERE [A]=""" & [A]
& """ ORDER BY KeyID") AS Phrase
FROM BIBLE

Column A contains Bible verses in the following format:
Gen 1:1, Gen 1:2 (...), Exo 1:1, Exo 2:1, right up through
Revelation (Rev 1:1, Rev 2:1, etc.). Sometimes when I run
the query I want it restricted to the display of one
specific book, say Leviticus (Lev). I realize this is an
easy thing to accomplish, but because I am a newbie, I
can't figure out how to do this, even though I have
searched my manual, but so far to no avail. Could someone
please tell me how to do this, and could you please keep
the explanation as simple as possible? Thanks.
  #2  
Old June 3rd, 2004, 10:59 AM
Allen Browne
external usenet poster
 
Posts: n/a
Default Simple Query Question

Rebecca, there are so many good Bible software programs - including
freeware - that what you are doing seems like lots of work for something you
could achieve more easily?

Some of the software on the market uses the Strongs numbers as in index to
the Hebrew and Greek root words (as listed in the back of a Strongs
Condordance). Part of the issue here is that there is not a one-to-one
correspondence between Hebrew/Greek words and English words. Search for
"interlinear" if you want to see the typical output this produces.

Regarding your specific question, you would need to create a table of Bible
Books, indicating the order in which they occur. The fields would be:
BookID Number A value between 1 (Gen) and 66 (Rev).
BookName Text
You could then create a query that limits to book 3 if you want to search
Leviticus.


--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Rebecca" wrote in message
...
Greetings. I deeply appreciate the help the MS MVPs have
given me (especially John Spencer). I have a quick
question about the following query that Mr. Spencer gave
me yesterday:

SELECT DISTINCT [A],
Concatenate("SELECT [C] FROM BIBLE WHERE [A]=""" & [A]
& """ ORDER BY KeyID") AS Phrase
FROM BIBLE

Column A contains Bible verses in the following format:
Gen 1:1, Gen 1:2 (...), Exo 1:1, Exo 2:1, right up through
Revelation (Rev 1:1, Rev 2:1, etc.). Sometimes when I run
the query I want it restricted to the display of one
specific book, say Leviticus (Lev). I realize this is an
easy thing to accomplish, but because I am a newbie, I
can't figure out how to do this, even though I have
searched my manual, but so far to no avail. Could someone
please tell me how to do this, and could you please keep
the explanation as simple as possible? Thanks.



 




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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:04 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.