Phone Book Problem
Nov 23, 2004
Here is my setup:
In Acess 97 I have a single data base with 5 tables, Attorneys, Employers, Health Care Professionals and two others. All tables have exactly the same fields.
I am trying to create a “phone book” made up of all the records in the data base. The form for this phone book has only a few fields such as fname, lname, phone, address. It also has the autonumber field. The record source for the form is a Union Query. When I open the form it works well. I get lawyers, employers, doctors , etc. all in alphabetical order.
Here is my problem:
I have a command button labeled “View Record.” I want to be able to click on this and have it find the record in its original table and open the form for that table so the record can be modified (on exiting the record I have it requery so the phone book is updated).
I can only get this to work with one table at a time, that is, the table that is named in the event procedure code. So if I am in, say, an Attorney record and tblAttoney is named in the event procedure code, all works well. But if I am in, say, an Employer record I get a blank Attorney form opened.
How can I get it to trace the autonumber to the proper table and open the record . I assume that the autonumbers are unique ACROSS all five tables since they are in the same database.
Any help would be greatly appreciated.
View Replies
ADVERTISEMENT
Sep 5, 2013
I'm currently trying to make a simple phone book database that use queries to search through the records. I need to set the search parameters to pick up all records containing a value rather that just search for that specific value.
For instance if I type in "mic" and search I want all records containing mic to appear in results like mick and Michael.
Is there any way this can be done?
So far I have only tried the [please enter first name] method and this has been in successful.
View 3 Replies
View Related
Oct 17, 2013
I thought that a phone book might be a good thing to begin with...
Should I be making every single entry field on it's own table and then pulling them from there into one form or....?
View 5 Replies
View Related
Jun 16, 2007
I want to know which is the best book on VBA out there.. for Access 2003
View 3 Replies
View Related
Oct 4, 2005
I allready looked at what was recommended in this forum - but I noticed there are only two books listed.
Are both of these books good for beginners or is the Access 97 Bible better? I have seen about a dozen of books and would like to have a few on hand to learn from and to reference as my skills increase.
I truly am after something that can give me a breakdown of the code in Access and what each line really means and the action it produces.
Thanks in advance,
John
View 5 Replies
View Related
Feb 22, 2007
Hi All,
i'm looking for a really good access book that will help me progress my access knowledge i have an okay knowledge of access and wish to expand my knowledge futher any good books out there that can help i know their is hundreds of books but does any one have first hands experience of a gr8 book they used
Thanks
View 3 Replies
View Related
Aug 1, 2007
Hi Everyone,
I was wondering if anyone can recommend a good book for learning more about Access?
I have basic experience with the programme, but am hoping to tackle the old 'questionnaire/survey' issue. A lot of books I can find on amazon seem to be set at such a level that I can already do (multiple tables, simple queries and reports), I need something a little more in depth. Others don't seem to tackle the specific issues I'm going to face (although I could be wrong about that!). Also, as I usually don't bother with computer manuals (I generally pick up and play with new programmes) I don't know which ones are best (e.g. Microsoft own, 'Dummies' etc)?
EDIT: I'm using Access 2002.
Thanks a lot!
Bek
View 8 Replies
View Related
Feb 8, 2008
DOes anyone have any examples that they are willing to post or links about how to build an appointment book in Access? I have tried google but I cant seem to find useful links.
Thanks.
View 12 Replies
View Related
Oct 12, 2006
I have a form "frmsend mail" whic have fields "To" and "Cc" i want to have a address book in the access itself having same functionality as outlook i.e it should add new email id to the address book, prompt the email id,etc.
How to do tht.
thnxx
View 7 Replies
View Related
Oct 12, 2006
I have a form "frmsend mail" whic have fields "To" and "Cc" i want to have a address book in the access itself having same functionality as outlook i.e it should add new email id to the address book, prompt the email id,etc.
How to do tht.
thnxx
View 1 Replies
View Related
Apr 3, 2006
I am looking for a good Access Book. At work, I have "Access for Dummies" and "Access2000 Step by Step". Are either of these good, bad, etc. What would you recommend. I am a begginner, but know some things, so I don't want something for real beginners.
View 2 Replies
View Related
May 9, 2007
I really need to learn how to code in VBA for access. Can someone direct me to a good VBA Book?
View 1 Replies
View Related
Apr 6, 2005
hello, this is frazzling my brain i cannot comprhend the answer :confused:
sorry werent sure were 2 post this hope this is the right place
I have an array of comics 300 they come out weekly, the first is Number: 344 this came out 26th September 1983, i have a form with a combo box were i select the comic number (344 - 700+) in this case i am selecting 344 and i press a button "command 11", i would like it to display in three text fields, date, month and year. This has well an truly killed off my brain. Any help would dearly be appreciated.
Need any further information just ask.
Paul
View 6 Replies
View Related
Oct 23, 2006
hi Iam new to this can anyone help i want to be able to enter phone numbers the code that ive found only seems to allow me to enter first 3 numbers were actually the areA code has 4 can any one give me correct formula
View 5 Replies
View Related
Jul 2, 2005
What is the best way to setup a phone number field that will contain numbers from North America and Europe?
Is it just one field that is text and no input mask? :)
Any suggestions?
Thanks
View 1 Replies
View Related
Feb 17, 2008
Hi
I am trying to run some queries on a large customer file that has very poor data - particularly in the contact number fields.
If there are more than six "1"s, "9"s, or "0"s in the number, then we are planning to treat it as an invalid number and replace it with a null.
Any ideas about how to do this?
Noel
View 4 Replies
View Related
Mar 25, 2008
Hi
I am trying to work with a large table of customer data.
I know that there is a large number of invalid values.
I would like to run a make table query that would check the phone number against a table of known invalid numbers (e.g. 1234567, 11111111, 99999999, etc).
If the number exists on the invalid table, then I would like to replace it with a null value.
Regards
Noel
View 1 Replies
View Related
Jan 20, 2006
Greetings... I am setting up a text box to accept a phone number with an input mask of 000-000-0000;0;_ but it isnt doing quite what I want it to do, I would like it to start at the begining when clicked to prevent the error of a user typing in the number a space too far to the right. (right now it places the cursor where ever the user clicks, which becomes a major pain when you want to just be able to click the field anywhere and type from left to right for sake of speed)
thanks for any solutions you might have to offer
View 2 Replies
View Related
Jul 31, 2006
I set my phone number to be formatted like (920)123-4567
I copied data from an excel spread sheet - now the phone numbers are like 920-123-4567.
Is there a way that I can update the phone numbers to be the correct formatting (920) 123-4567?
View 8 Replies
View Related
Nov 27, 2006
I have a list of about 900 phone numbers, which have been formatted in excel to have a 0 at the beginning of the phone number. However when i export the data to access, so it can be viewed on a webpage this formatting is lost.
How best can i go about adding a zero at the beggining of all of the phone numbers in my list? Can it be done using sql or is there another function in access that can do this.
Thanks
View 5 Replies
View Related
Oct 19, 2014
I have three fields in a database with phone numbers. They all appear to be set up the same. They all display the phone number format (xxx) xxx-xxxx when data is entered. One of them looks like a phone number in tables, forms and queries. The other two display as a 10 digit number.
View 2 Replies
View Related
Feb 15, 2008
Just wondering if anyone new of any books that contain examples of code, functions, syntax, etc. I would like to have a good reference that I could go to instead of searching the internet everytime I need to try something new.
Thanks in advance.
View 6 Replies
View Related
Mar 21, 2008
Ruralguy suggested that i made a new thread - so I'm taking his advice (H)
I've got another problem, well not problem..i want to make it more user-friendly.
Database= 21238 (Look for yourself see what i mean)
(rename to .RAR if it doesn't open)
Basically, when the user adds a book, they can add it easily..
the only problem is, when ..just say i want to add a book, and I have 10 copies of this book, I have to add the book first and the go into the ADD_BOOK_COPY form and then select the book which i want to add more copies of and click add - i repeat this for the total amount of copies that i have.
So if i had 10 copies of 1 book, i add, and then go into a seperate form and then click this button 9 more extra times.
Which, can cause headahces!
So basically, i'm thinking of implementing a new way to do this,
i was thinking about..
When i got to add a book, there's a List/Combo box with 1-20 into
So i can add the book, and then select how many copies, click 'add' and this will add 20 copies of that bookm firstly by adding it to the 'book' table and then adding 20 copies to the book_copy table..
Is there anyone who would like to help with this? :' )
Cheers btw! :)
View 7 Replies
View Related
May 2, 2005
Hi all, Im updating my current checkbook registry database. Just want to be sure that table look ok to everyone before starting the coding process. This will be a multi user - multi account program. I have attached the relations diagram.
Please give me some suggestions as to what fields i might need to add.
Also check to relations.
Thanks a bunch.
View 4 Replies
View Related
Mar 1, 2008
Hello !:)
I need to make a SQL query in Microsoft Access.
The database is in French but you will easily understand, if not please ask me to translate.
You will find the MDB Access file inside the attached ZIP file.
The query I need to make is ::rolleyes:
We want for the next sent of books to the members of l’EST-SUD (WEST-SOUTH in English), to test the equivalences of the books.
We want to send for each book from the “genre” (theme in English) “Animaux” the most expensive equivalent book, we want to give a list with the original book, the recommended price (PrixCons in the database) and the most expensive equivalent book with his price.
-“NoLiv” is the book number in the database.
-“TitreLiv” is the book name (title) in the database.
-“NoGen” is the theme (genre) number in the database.
-“NomGen” is the theme (genre) name in the database.
-“PrixCons” is the recommended price for the book.
This is the query I tried, but it isn’t working ::confused:
SELECT DISTINCT *
FROM LIVRE AS L, EQUIVALENCE AS E
WHERE L.NoGen IN (SELECT G.NoGen
FROM GENRE AS G
WHERE G.NomGen IN ("ANIMAUX"))
AND E.NoLivEq IN (SELECT LI.NoLiv
FROM LIVRE AS LI
WHERE LI.NoLiv IN (SELECT MAX(LIV.PrixCons) AS [Prix Max Livre Equivalent]
FROM LIVRE AS LIV
WHERE LIV.NoLiv=LI.NoLiv))
ORDER BY 2, 3;
SECTEUR (N°Sec, NomSec)
ADHERENT (NoAdh, NomAdh, PrenomAdh, Sexe, DateNaissance, #N°AdhResp, #N°Sec)
MEMBRE (NoMemb, PrenomMemb, Sexe, Age, #N°Adh)
GENRE (NoGen, NomGen, Exemples)
LIVRE (NoLiv, TitreLiv, ThemeLiv, PrixCons, #NoGenre)
ENVOI (#NoMem, #NoLiv, DateEnvoi)
ETUDE (#NoMem, #NoLiv, DateEtude, EvalEt, Commentaire)
EQUIVALENCE (#NoLiv, # NoLivEq)
Primary keys are underlined and foreign keys have a # before them
View 2 Replies
View Related
May 16, 2007
I have two tables.
The ITEM RECD table containing the fields -- recd_invoice_ no, invoice_date,part_no,qty.
The ITEM ISSUE table containing fields- issue_no, date, part_no,qty.
The two tables are related by the part_no field.
How do I print a stock book type report for each item individually with all the recd item details on left side and the issued item details on the right side? All the recd & issue details for all dates need to be there in the report.
Someone please help!!!!!
View 3 Replies
View Related