Overwriting Subform Address

Nov 19, 2005

Hi.

I am in transportation and am designing a form for bills of lading (air/sea/truck). There are two tables, a NameAddress list, and the BillOfLading record list. The bill of lading form has a drop down combobox to let the user choose a Ship From name and address, and another for a Ship To name and address.

The simplest way I can think to display, and later report-output the names and addresses is with subforms for Ship From, and Ship To, or alternately, using DLookup fields. Both methods seem to work fine.

But in this business, the user, a shipping clerk or agent, is often called on edit a name or address text in the Ship To or Ship From, usually for a one time occurance for the specific shipment, rather than for a change for the Name or Address list. That change might be a request for adding a purchase order number, or a pickup number, to an address field. This change might occur rarely or regularly, but often it must be placed in the address lines rather than elsewhere on the bill of lading.

With subforms, I seem to have been able to set it up where you can edit the address field, however, when doing this, it has always meant that the related record in the NameAddress table gets changed by this editing.

So the question is, would it be better to create real name and address fields in the bill of lading table, and somehow have the related NameAddress field data written to those fields? Then, if required they could be edited for the specific shipment and that that bill of lading data record would be saved. If so, how can I write to those fields from the related record in the NameAddress table?

Thanks for any help or suggestions.

(PS: I know that doubling up on name and address fields breaks a rule in DB design but I don't see how to avoid it in this case.)

View Replies


ADVERTISEMENT

ACCESS File Is Overwriting While It Is In Use

Feb 12, 2008

I created one MS access database and I added some table in that and I have other access mdb file with same name so when I open the first one file and I copied the second one file in same location it asked me to overwrite but I have using that file my issue is that while using access file if I am overwriting it wont allow me to overwrite it has to stop doing. Is their any solution for this.

View 3 Replies View Related

How Do I Append To An Existing Table Without Overwriting Data

Feb 3, 2005

Hi,

I have a table that contains a notes field. What i would like to do is to append to this field in table with some more data (notes), however i dont want to over write the existing data. I would just like to add to it.

the current notes are added through the access front end, but in this instance i have a particular note that needs to be added to various enteries without overwriting existing data. I know this is to be done via an append query, any help would be great

Thanks

View 14 Replies View Related

Reports :: Prompt Before Overwriting A Saved File

May 15, 2015

The code below successfully saves a .pdf file to my c: drive. However, on occasion i want to overwrite a previously saved invoice e.g. 3815-140515-Bristol with an amended invoice but retain the same Invoice Number e.g. 3815-150515-Bristol.

Currently, if i save the invoice with the same invoice number but a different date it just saves down without overwriting the original invoice. Leaving 2 invoices with the same invoice numbers but with 2 different dates.

What I want to achieve is: Once I hit the SaveInvoice button the code will check that invoice Nr 3815 does not exist in c: drive and save normally. However, if it does exist a msgbox will then prompt me to overwrite.

Current code:

Private Sub SaveInvoice_Click()
'Save Invoice as PDF and annotate invoice number, site name, and date
Dim slFileName As String
' create the invoice as a pdf
slFileName = Me.txtInvoiceNr.Value & "-" & Format(Date, "ddmmyy") & "-" & Me.SiteName.Value & ".pdf"

DoCmd.OutputTo acOutputReport, "rptinvoice", acFormatPDF, ("c:CompanyName InvoicesRegular Invoices" & slFileName)

MsgBox "Your Invoice was successfully Saved"

View 2 Replies View Related

General :: Replace Input Email Address With Mailto Address

Sep 17, 2012

I have a form where the user puts in a email address, eg test @ myserver.net

So the link opens a new mail it has to be prefixed by mailto:

How can I automatically replace the address the user enters with the format mailto:test@myserver.net

View 3 Replies View Related

Queries :: Find A Way Of Overwriting Records In Table With New Data

Aug 6, 2014

I have a table where csv files get imported to on a daily basis. The key fields I am working with are a supply number and date. The problem I have is that sometimes the csv file will contain information that is correcting/updating information held in the table. This is creating duplicated records.I need to either create a query to find records that have the same supply number and date or find a way of overwriting the records in the table with the new data.

View 2 Replies View Related

Query How To Show A Temp Address Over A Perm Address

Jun 19, 2007

Hope you can help!

I have an access table which lists a customers address, however, if the customer has a temporary address it will also list that on a separate line -

CustID Address Type
1234 5 The Street P
1234 12 The Street T
2345 13 The Road P
3456 12 The Avenue P

Where P = Permanent and T = Temporary

I want to set up a query to show the permanent address where there is only one address, but where the customer has a temporary address also, I want to list the temporary one instead.

Thanks

View 1 Replies View Related

Email Address, Web Address, Hyperlinks, Etc..

Aug 9, 2006

I have a form bound to a table which stores contact info for a person. I have two controls that are email_address and website_address. I set them both as hyperlinks.
So now when the user clicks on the email_address Outlook opens a new message with an email_address in the To field. (I had to use a function found on this forum to replace the "htttp" with "mailto" on AfterUpdate event in order for this to work properly.) However, now trying to add some other features to my DB I ran into problems listed below. I wonder if I should have rather left that control as Text instead of Hyperlink, and use the DoCmd.SendObject on doubleclick event instead of using the above solution.
How people usually store email addresses and enable emailing on click?

The problems I ran into:
1) My main form is in popup mode and therefore right click on the hyperlink does not give an option to edit the hyperlink
2) I copied a function from this forum which gathers a list of emails and sends one message to the emaillist. However, my email list instead of generating as:
email1@a.com; email2@b.com
it generates as:
email1@a.com#mailto:email1@a.com#; email2@b.com#email2@b.com#

I guess I could extract the email using vba (not sure how), but I still don't know how to solve issue number 1. So maybe it is better to siwtch the field to plain text and forget the hyperlinks?

Thanks,
Mariusz

PS. What procedure on double click would open a default browser, since I also have to deal with web addresses and thought of turning them into text controls?

View 1 Replies View Related

How To Sort By IP Address

Aug 29, 2005

I am completely stumped on this one. I have a database where we track IP Addresses and I just want to sort by IP...should be simple, I'd think.

With these 5 IP's, I'd want them in this order:
1.2.3.1
1.2.3.4
1.2.3.7
1.2.3.9
1.2.3.10
1.2.3.17
1.2.3.21

But it sorts in this order:
1.2.3.1
1.2.3.10
1.2.3.17
1.2.3.21
1.2.3.4
1.2.3.7
1.2.3.9

Is there anything I can do to fix this? I want it to see each number as a whole, for example "10" instead of "1" and "0"

Much thanks.

View 5 Replies View Related

Query Address Help

Jun 29, 2006

I have an address all in the one line at the moment. My front end has been programmed this way. Now I have to split the address into 3 or 5 lines. The address looks like this:

3 Thorn Road Edinburgh Scotland G68 2AA

The post code is in a seperate field so that makes it easier for me.

This is the query i have.

UPDATE Clients SET Clients.Address1 = Left([Address],InStr([Address],",")), Clients.Address2 = mid([Address],InStr([Address],",")), Clients.Address3 = Right([Address],InStr([Address],","));

If it was looking for this address: 34 Thornwood Road, Kilmarnock, Aryshire. It would produce

Address1 = 34 Thornwood Road, = Correct
Address2 = kilmarnock, Ayrshire ,= Should be kilmarnock
Address3 = nock, Ayrshire = Should be Ayrshire

tried all different ways and it meeses up can someone point me in the right direction.

Thanks

allan

View 3 Replies View Related

Trimming An Address

Mar 21, 2007

I have a table that has about 5000 street addresses (ex. 1234 your st.). I want to get the all the characters until the first space. So for (1234 Your St.) I want to get 1234 for W1234 St I want W1234. Is this possible?

View 1 Replies View Related

Tempory Address's

May 9, 2005

Hi Ive got a form that has customer details at the top i.e name, address etc. and then a products subform. Once I have chosen a customer it then automatically fills in the address fields and i can then add products to the order. I then press a button which produces a form showing the customer name and address and the products they ordered. I want to be able to have it so I can add a tempory address if the customer wants the goods to be shipped somewhere different to there normal address. How do I do this without adding another address into the database?

View 6 Replies View Related

Choice Of Address?

Aug 14, 2005

I have two addressess, primary and secondary.
I would like to make an option button on the form that indicates (when selected) which address to use for mailings? Although, 9 times of 10, mailings are sent to the primary address, but there are those exceptions...

Can someone direct me to an example code to perform this?

View 1 Replies View Related

Hyperlink Address

Dec 19, 2005

Hello, I'm trying to add a hyperlink to my form that changes to a different location when the record changes.

View 1 Replies View Related

Address Book

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

Address Validation

Dec 14, 2006

Hi all,

Just a little advice on how to approach a problem.

I have some simple address validation in an unbound form. When the user types in a suburb, I have a DLOOKUP function that returns the appropriate postcode for that suburb.

My problem is that most suburbs have more than one postcode (standard and PO BOX).

How can I return both values?

My intention is to then allow the user to select the appropriate postcode.

Thanks

Robert

View 6 Replies View Related

What Is A Email Address (in A PM)

Dec 11, 2004

What is a email address (in a PM)

Jabez

View 1 Replies View Related

Address Verification

Feb 4, 2005

any one have experience with address verification in access through the US postal service? any good resources? Examples?

View 3 Replies View Related

Address Block?

Oct 20, 2005

I have a form for all my clients, and currently there's a separate field for each part of the address. This does not make it easy to cut and paste an entire address block. I therefore created an unbound text box with the control source as:

=[FMT-NAME] & Chr(13) & Chr(10) & [Pref1] & Chr(13) & Chr(10) & [Pref2] & Chr(13) & Chr(10) & [PrefStrt] & Chr(13) & Chr(10) & [PrefCity] & ", " & [PrefState] & " " & [PrefZip]

This works ok, but if someone doesn't have anything in the fields [Pref1] or [Pref2] it leaves blank lines. Is there a way to code it so that I can have a complete address block? Thank you.

View 4 Replies View Related

Help With Address Format Please

Oct 2, 2006

Hi - I am importing information into my database of customers names and addresses. The country part of the address comes in 2 letter code - eg AU = Australia, IT = Italy etc. What I would like is to change these to the actual country name. Is there a neat way of doing this? I am thinking doing a whole line of if then, but it all looks really messy.
Thanks
Fiona

View 1 Replies View Related

Address Book

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

Make E-mail Address From Name

Oct 21, 2005

Hello all,

I have a field called "Name", which for example is: "Johnny Briggs".

I want to be able to show the exected e-mail address, which would be: "johnny.briggs".

So, all I need to do, is take out the space, and replace it with a full stop.
Should be easy - but I can't figure it out!

I don't really need to store the address - so doing it in my query is preferable.


Thanks in advance!

View 2 Replies View Related

Finding An @ In An E-mail Address.

Feb 22, 2006

having a prob with the above. not sure what is the best way to find out what comes after the @ in an e-mail address.

For example, if i was to have the following e-mail address@

firstname.lastname@myemail.com

is there an expression to use to shrink the above so that i can only see the "myemail.com"?

thanks for your help.

View 1 Replies View Related

Partitioning An Address Column

Mar 21, 2006

Problem: Turning an address column containing a comma into two or three address colums containing no comma

I have a database with the structure:
company
address
town
postcode (zip code)

The present address column contains one of the following (I give examples)

-76 Nelson Street

-99 Bush Lane, Waddington
(where Waddington is a village, or quarter of the town named in the town field)

-Nixon House, 150 Clinton Street, Hareswood

-sometimes there might be a redundant comma at the end of the string e.g.
99 Bush Lane, Waddington,

-very occasionally the address field is empty (when the record is still incomplete


----------------------------------------------

We now have to interact with another company and its software, which takes commas as field delimiters. We therefore have to get rid of all commas in our address field.

I have therefore revised our structure so that it now is:
Company
Addr1
Addr2
Addr3
Addr4 (which contains what was formerly 'town')
Postcode (zip code)

Now I must distribute the contents of Addr1 into Addr1, Addr2, Addr3
and eliminate the commas in the process.

Our database has 4000 records. Therefore doing this manually is prohibitively expensive and takes far too much time. We need the revised database virtually overnight.

My knowledge of Access is fairly limited, but it is ***I*** who has to solve the problem.


Request
------------

Is it possible to do this automatically?

How would you proceed, which steps?

If an Action Query has to be used - well, I have never used an Action Query before (but I have a hefty book about it = "Willing to learn - fast").

If there is a simple formula to be entered into the Action query, could someone please give me the formula?

Thanks for your help.

Adrian

View 5 Replies View Related

Using Parameters In HyperLink Address

Feb 21, 2007

Access 2003

I've inherited an Access Application which is basically a Front End for calling Integration Service Packages - for all intents and purposes it could be stored procedures or anything other executable. A number of forms have hard coded links that point to a particular executable on a network drive.

With regards to this the UAT packages will live in a different directory than the DEV code so is it possible to parameterise the link e.g. could W:CAT DevelopmentAutomation PackagesOTCOptionsImport.dtsx become W:PARAMETERAutomation PackagesOTCOptionsImport.dtsx - if so then how do I create a parameter, capture it and use it in the link above.

The whole project is lacking the use of parameters at an ACCESS level and Integration Services level but due to time constraints there is no scope to major overhaul the system design.

I am a developer with many years of experience but my Access knowledge is limited so any pointers would be helpful.

View 3 Replies View Related

Banned Email Address

May 8, 2007

Can't find anywhere else to post this so...

When I joined this forum last month, I attempted to enter my current email address and I got a message box that my email address had been banned. I tried several times to enter the correct (current) email address and each time was told that email address had been banned.

I attempted to contact 'jon@access-programmers.co.uk' on the 13th and 27th of April with no response.

As it is right now, this forum only recognizes my old email address instead of my real email address as that's the only way I could continue the join process.

Can anyone:
1. tell me why my current email address has been banned
2. help me get my correct information entered?

thanks.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved