473,385 Members | 1,740 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

MS Access questions

I am not that good at Access and don't know much about it, so I have a
few questions for anyone who knows Access very well. First off, I
should mention that the company I work for uses Access as a Rolodex
for names, addresses, and phone numbers of clients.

Okay, first question: When I open Access and click on Enter/View
Contacts, how do I get it to open to a blank entry not the first one
on the list?

Second question: What is a Contact ID and how can I get rid of/change
it? We don't want to sort by Contact ID because we don't know what it
is.

Third question: What are the Contact Types? Is there a way to sort by
Contact Type?

Fourth question: How do I get it to make two lines in the address box?
Does it do it automatically?

Fifth question: How can I get it to search with just part of a
description instead of needing the whole name, business, etc..?

Thanks so much for any help I can get.
Nov 13 '05 #1
3 3087
Megan wrote:
I am not that good at Access and don't know much about it, so I have a
few questions for anyone who knows Access very well. First off, I
should mention that the company I work for uses Access as a Rolodex
for names, addresses, and phone numbers of clients.

Okay, first question: When I open Access and click on Enter/View
Contacts, how do I get it to open to a blank entry not the first one
on the list?
Two things. You can open the form in design mode, open up the property
sheet for the form, click on the data tab, and select DataEntry = Yes.

Another option would be to open the form to a bogus contact. Let's say
your table has the fields ContactID (number) and ContactName. In the
OnOpen event you could enter something like
Me.Filter = "ContactID = 0"
Me.FilterOn = True
And when a contact is selected, enter something like
Me.Filter = ""
Me.FilterOn = False
if you want to remove the filter, otherwise simply change the Me.Filter
to equal the contact id selected.

Second question: What is a Contact ID and how can I get rid of/change
it? We don't want to sort by Contact ID because we don't know what it
is.
Most likely it is the "key" to the table. Go to the database window and
select Tables and open up the table. Most likely it is an Autonumber
field. Autonumbers generate the key when a record is created. Keys are
used to link tables together. You don't want to get rid of it, you
really want to hid it. Open up the form in design mode, double-click on
the contactid field to pull up the property sheet, select Format tab,
then change Visible to False.
Third question: What are the Contact Types? Is there a way to sort by
Contact Type?
If you look at your menu bar when the form is open, is there an AZ/ZA?
If so, click in the contactTypes field and presss on or the other?
Contact types could be customer, supplier, co-worker, etc.
Fourth question: How do I get it to make two lines in the address box?
Does it do it automatically?
That depends. Open up your contacts table in design mode. Are there
tow address fields? If not, click on the row for the current address,
see it is set up, the type, format, etc. Then in the first blank row
create a field called Address2 and duplicate the same info and save the
table. Open up the contact form in design mode. On of the graphical
elements on the menu/toolbar is something called FieldPicker. Click on
that and drag Address2 onto the form and place it where you want. Close
and save the changes.
Fifth question: How can I get it to search with just part of a
description instead of needing the whole name, business, etc..?
Do you have the Binoculars available in the toolbar when the form is
open. If so, use that to search. One of the options is any part of the
field.
Thanks so much for any help I can get.


Nov 13 '05 #2
Salad <oi*@vinegar.com> wrote in message news:<Sf****************@newsread2.news.pas.earthl ink.net>...
Another option would be to open the form to a bogus contact. Let's say
your table has the fields ContactID (number) and ContactName. In the
OnOpen event you could enter something like
Me.Filter = "ContactID = 0"
Me.FilterOn = True
And when a contact is selected, enter something like
Me.Filter = ""
Me.FilterOn = False
if you want to remove the filter, otherwise simply change the Me.Filter
to equal the contact id selected.


What is "Me"? I tried using it and it didn't work. Thanks!
Nov 13 '05 #3
"Megan" <gc**********@hotmail.com> wrote in message
news:62**************************@posting.google.c om...
Salad <oi*@vinegar.com> wrote in message

news:<Sf****************@newsread2.news.pas.earthl ink.net>...
Another option would be to open the form to a bogus contact. Let's say
your table has the fields ContactID (number) and ContactName. In the
OnOpen event you could enter something like
Me.Filter = "ContactID = 0"
Me.FilterOn = True
And when a contact is selected, enter something like
Me.Filter = ""
Me.FilterOn = False
if you want to remove the filter, otherwise simply change the Me.Filter
to equal the contact id selected.


What is "Me"? I tried using it and it didn't work. Thanks!


Where are you running the code?

Me is a shorthand reference to the parent object running the code; i.e., if
you run the code in a form's module then "Me" is a reference to the form
object, if in a report then it refers to the report.

It is nice because you can copy code or change the name of the form/report
and the code still works.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com

Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Dale Ring | last post by:
Access 2000 I am trying to print a report that only some of the records have pictures. When the report prints, I do not want a blank image control showing on the report. This project is a test...
1
by: Stefan V. | last post by:
Hello! I am trying to convert a query written for SQL Server 2000 database tables, to a MS Access query. Here is what I have in SQL Server: SELECT t2.*, CASE WHEN t2.QType = '3' THEN...
3
by: krygsma | last post by:
So, I need to figure out how to do what I want to do with Access. I have many questions with mutually exclusive options, each option has a value, never=0, few times=1...ect.. (then when questions...
7
by: Ariel | last post by:
I have a question that I'm hoping someone here can answer. Let's say I have two fields which have a beginning number and an ending number. What I'd like to do is have Access generate a list of...
42
by: PC Datasheet | last post by:
I have zero experience with using a SQL database for a backend and Access for a frontend. I have some questions: 1. Does an SQL database have tables? 2. How does Access connect to the data in...
0
by: totierne | last post by:
comp.databases.ms-access, I want to know how to use Oracle views with session variables in Access. The parameterised views in access, are migrated to views with per session variables. The...
4
by: Grant Austin | last post by:
Hello, This might be a tad off topic. The c-programming groups I found appear to be unused... The problem is simple... I need to create a listing file from an assembler source file. The...
7
by: Martin Strojek | last post by:
Hi, I have the following problem with developing some web site. I use Visual Studio 2003 to build a website. I tried Windows 2003 Server and switched now back to Windows XP with PWS but the...
62
by: Ecohouse | last post by:
I was just wondering if there was any way to use a toolbar in Outlook 2002 in Access 2002? I want to create a custom toolbar in Access similar to the Calendar toolbar in Outlook. Any ideas?
21
by: Bigpond News | last post by:
Work at a large site - 1000+ PC's. Mixture of Win98 & WinXP. Majority of applications using Access 97. If I compile the Acc97 application on a Win98 PC, the .mde will run perfectly on both...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.