473,943 Members | 11,648 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3122
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.co m> wrote in message news:<Sf******* *********@newsr ead2.news.pas.e arthlink.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**********@h otmail.com> wrote in message
news:62******** *************** ***@posting.goo gle.com...
Salad <oi*@vinegar.co m> wrote in message

news:<Sf******* *********@newsr ead2.news.pas.e arthlink.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
7277
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 bank of questions allowing the user to create an exam by choosing the questions. Some of the questions have pictures for reference and some don't. I have chosen to keep the images in another folder with a test field (QPic) that contains the...
1
5362
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 t1.Note ELSE CASE WHEN t2.QType = '2' THEN CASE WHEN CONVERT(varchar(100), t1.ANumber) = '1' THEN 'Yes' ELSE 'No' END ELSE CASE WHEN CONVERT(varchar(5), t2.Qnumber)+'.' +
3
6101
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 are "reversed", never will equal 4, which can be handled later but I'm open to any ideas) but need to be displayed as text. The easiest solution to this, I thought, would be option groups, perfect, they look beautiful, it seems quite logical that...
7
6125
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 numbers between the beginning number and the ending number (inclusive) for each row that exists in my start table. For example, my start table might look like: Begin End 513525 513528 513530 513538
42
5677
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 an SQL database? Linking, importing, or ??? 3. Earlier today there was a thread regarding DAO and ADO. In the thread it was said that ADO is very useful when the backend is a SQL database. Could someone explain that?
0
3039
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 open questions: How to display a resultset
4
1546
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 listing file is just a copy of the source file with line numbers along with a list of syntax errors (e.g. multiply or undefined symbols).
7
4788
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 error occurs in both installations. When I do a compile/build of my app and go to the browser and hit reload there comes an error:
62
11453
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
2459
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 Win98 and WinXP PC's. However, if I compile on a WinXP PC, the application doesn't run correctly on Win98 PC's. While I guess a Windows issue, does anyone know the offending files and even better, how to resolve it ? Otherwise I need to...
0
9970
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11538
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
11133
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11301
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7392
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6090
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6311
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4913
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4515
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.