Hi,
I'm designing a database for a small removal company.
The information we need includes the customer's contact address, the
address they're moving from and the address they're moving to.
I currently have the contact address in the Customers table, the from
and to addresses in seperate tables (FromAddresses & ToAddresses) and
a Moves table linking the three together.
One problem is that the contact address is usually the same as the
from address, but I have to allow for the fact that they might be
different. This means that most of the time we will be entering the
same information twice, which is something I'd like to avoid.
Can someone suggest a good way to handle this situation?
Thanks,
Richard 1 1304
In the AfterUpdate event of each field for the ContactAddress enter the
following code.
If IsNull(Me!FromA ddress) Then
Me!FromAddress = Me!ContactAddre ss
End If
Change the FromAddress and the ContactAddress with the names of the fields
on the form. If you have a City field use
If IsNull(Me!FromC ity) Then
Me!FromCity = Me!ContactCity
End If
After you enter anything in the contact address field and the from address
has no value, the from address field will be filled automatically with the
value of the contact address.
Jeff
"Richard Jenkins" <go*****@telex. freeserve.co.uk > wrote in message
news:4d******** *************** ***@posting.goo gle.com... Hi,
I'm designing a database for a small removal company.
The information we need includes the customer's contact address, the address they're moving from and the address they're moving to.
I currently have the contact address in the Customers table, the from and to addresses in seperate tables (FromAddresses & ToAddresses) and a Moves table linking the three together.
One problem is that the contact address is usually the same as the from address, but I have to allow for the fact that they might be different. This means that most of the time we will be entering the same information twice, which is something I'd like to avoid.
Can someone suggest a good way to handle this situation?
Thanks,
Richard This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Robert |
last post by:
Im a beginner in PHP and Im having a problem with this code. Im
trying to remove duplicate elements from an array created via $_GET.
I want users to be able to click on a link which sends an email
address to an array. I just want to remove duplicate email addresses
from the array. Ive tried array_unique() on my test server but it
doesnt work. So i tried to remove duplicates myself before storing
them into the array. The script works...
|
by: Xah Lee |
last post by:
here's a large exercise that uses what we built before.
suppose you have tens of thousands of files in various directories.
Some of these files are identical, but you don't know which ones are
identical with which. Write a program that prints out which file are
redundant copies.
Here's the spec.
--------------------------
The program is to be used on the command line. Its arguments are one or
|
by: JStrummer |
last post by:
I just put together a PHP mailing list sign-up page that posts to a
mySQL DB. The PHP script prevents INSERTs when the email address is
already located in the database.
Problem: I need to import some flat-files that stored the signups,
prior to this new form. Email addresses weren't checked, so there are
a lot of records that have the same email address.
Once I import these into the table, how would I go about putting
together a SQL...
|
by: Catherine Jo Morgan |
last post by:
Can I set it up so that a certain combination of fields can't contain the
same entries, on another record? e.g. a combination of
FirstName/LastName/address? Or FirstName/LastName/phone? Or
FirstName/LastName/email?
Or is it possible to allow this but to throw up an alert message? Warning
that this person is probably already in the database? TIA
|
by: Ray |
last post by:
I have a data input form and need to automatically duplicate the existing
record as a new record by clicking a button. The main purpose to duplicate
the record is that the new record is very similar to the existing record
with minor differences. It will save the data input operator a lot of
afford by editing the minor difference only. However, the new record is not
allowed to be saved if the operator forgets to make the modification for...
| |
by: Jay Douglas |
last post by:
Does anybody know the odds of generating a duplicate guid?
--
Jay Douglas
http://jaydouglas.com
|
by: Dabbler |
last post by:
I'm trying to setup a email info config section like:
<contactForm>
<email>
<add key="toaddress" value="he@hishost.com;" />
<add key="toaddress" value="she@herhost.com;" />
<add key="toaddress" value="it@itshost.com;" />
<add key="subjectprefix" value="website contact: " />
<add key="smtphost" value="mail.myhost.com" />
<add key="greeting" value="Please feel free to send us your
questions or comments." />
|
by: Backwards |
last post by:
Hello all,
I'll start by explaining what my app does so not to confuss you when i
ask my question. ☺
I have a VB.Net 2.0 app that starts a process (process.start ...) and
passes a prameter through from a combo box. The combo box items are
made up of IP address and computer host name. Anything a user places in
this combo box it writes this to a txt file called history.txt
|
by: HLCruz via AccessMonster.com |
last post by:
I am working with a database that has client information separated in to 4
related tables - tFolder, tAddress, tEmail, tPhone number. In addition there
are related tables tGifts and tCalls. The database has roughly 22,000
records but should only have around 6,000. The remaining records are
duplicates, but in many cases the correct data for one person is spread out
between the duplicate records and related tables. I need to be able to...
|
by: pbrown |
last post by:
Hi. I'm a relatively new Access 2000 user, and I've got a problem thats got me stumped. I have a table of street addresses and property numbers that looks something like this:
Name, Location, PropertyNum
Ralph, 100 Anywhere St, 400010008
Bob, 102 Anywhere St, 400010009
Jessica, 103 Anywhere St, 400010010
Joe, 103 Anywhere St, 400010010
Marie, 103 Anywhere St, 400010010
Andrew, 110 Anywhere St, 400010011
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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,...
|
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,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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();...
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |