Updating Address Fields On A Contacts Form
Feb 8, 2005
I am bulding a contacts DB for work and am a bit of a newbie with Access.
I have a table for Individuals and a table for Organisations. Both have address fields.
On the individual's form there is a drop down for Organisation, which is linked to the organisations table (fk). The form has a sub-form which displays work address. I want the work address field to update to the Address field in the Organisations table when an organisation is selected on the drop down.
I am using Acess 2003.
Could somebody point me in the right direction please?
View Replies
ADVERTISEMENT
Jul 5, 2006
I need to keep a customer list and I need to update the email address of the existing customers in the customer list.
The customer list table called 'masterlist' and the table looks like this:
IDPhone CallerNameContactEmail
112345678Emily Office<blank>
287654321Emily Home<blank>
399536546Emily Mobile<blank>
4 75293924 Jack <j.k@mail.com>
The table contains email address of some of the existing customers, I have the same fields in this table, the table called 'Newemail'.
IDPhone CallerNameContact Email
112345678Emily Officec1@mail.com
287654321Emily Home<blank>
399536546Emily Mobilee1@mail.com
478954648Jenny <blank>
545454854Derek <blank>
645484542Kelvin k1@mail.com
How I can insert the email address from 'Newemail' into my existing customer list 'masterlist' i.e. contact email of ID 1 and 3 :confused: ? I would like to ignore ID 4-5 from the 'Newemail' table. And I would like to keep ID 4 from the 'masterlist' table.
Thanks!! :D
View 6 Replies
View Related
Jun 20, 2006
Hey Everyone,
I am stuck trying to figure out this problem. I have a main form "frm_tirelog_600" which has 4 combo boxes "cboleg",
"cbocar", "cbopos", "cboserial" on it. The first 3 combo boxes are used as criteria on 1 of 3 subforms that I have.
The fourth combo box "cboserial" is used for the criteria in a query on another subform that I have called "frm_mount_600_subform",
which is independant from the main form, I hope I have explained that clearly enough. What I need to be able to do is
have the subform fill in 3 of the fields on it "leg", "car", "pos" with the value from the 3 combo boxes on my main form. I
can get it to show in the fields but not write to the table. I have searched the forum and have not been able to locate anything
that would work and really need any assistance with this. Im not real strong in the coding department which is where I
beleive this could be done.
I have attached a copy of my DB which I hope will better explain it. Any help would be greatly appreciated
View 8 Replies
View Related
Dec 30, 2004
Hey ya'll,
I'm trying to figure out how to subtract a value entered on a form from one table, from a column in a different table. I was trying to us an AfterUpdate on a texbox to run some VB that would run a SELECT statement to get the current value (InStock), subtract the value in the textbox, and run an UPDATE statement to update InStock. But all I got were a lot of errors saying that I was using mismatched objects and nothing was getting update. Please help.
Thanks,
Chris
View 4 Replies
View Related
Jul 2, 2014
I have an open form "MattersFileFrm" that has total fields on it.
I have a transaction form open where the user is entering figures into a few fields. I then want to add those figure to the total fields on the other form.
This is the code I'm using without success
Forms![MattersFileFrm].[AmountPaid] = Forms![MattersFileFrm].[AmountPaid] + Me.AmountTotal
Forms![MattersFileFrm].[CommisionPaid] = Forms![MattersFileFrm].[CommisionPaid] + (Me.AmountTotal * 1.2)
Forms![MattersFileFrm].[AmountOwed] = Forms![MattersFileFrm].[AmountOwed] - Me.AmountTotal
My referencing to the other form fields is wrong .
View 9 Replies
View Related
Apr 25, 2012
I decide to add a new field to its related table. I always wait to create the form until I think my table is complete, but sometimes I just end up needing to add more info. Is there a quick way to update the form to include my new fields?
View 7 Replies
View Related
Dec 16, 2014
I have a form that has combo boxes and text fields (as well as sub forms). There is also a button linked to some code that says'
Private Sub cmdQuote_Click()
'Creates quote date and prints quote
Me.QuoteDate = Now()
Me.cbAgentID.Requery
DoCmd.OpenReport "Quote", acViewPreview, , "BookingID = " & Me.BookingID
End Sub
When the button is pressed the QuoteDate field (it is bound) should be be populated, but unfortunately it is not. I have played with refresh and requery but cannot derive a solution.
View 1 Replies
View Related
Oct 9, 2005
I am new at Access, but I am trying to run a query on two tables where the linking field is the address field.
One table has addresses storred as "123 Elm Street #123" and the other stores them as "123 Elm St. Apt. 123"
Is there any way to run this query on these two tables with this difference in the address fields?
View 1 Replies
View Related
Sep 12, 2004
Hello,
How can I combine two seperate fields into one field? For example
field1 has 123 field2 has Smith St. I want to put it in one column
that has 123 Smith St.
Thanks
View 1 Replies
View Related
Jul 22, 2007
Hi,
I have a an address field in my current MS Access table that has records following this sort of format eg. 21 Brown St, 21/56 Smith St
I want to separate every word in this field in to it's own field eg. field1=21
field2=Brown
field3=St
Addresses come in different formats (see examples above, with / or - etc.)
I'd like some code to complete this in VBA - please note I'm very new to programming so unfortunately everything must be explained.
Thanks
View 1 Replies
View Related
Nov 22, 2006
I've spent about an hour searching this site for email issues but most I found we how to send. I want to take existing data and make an email address.
I have a FName field and an LName field. In my email field I want FName.LName@email.com. the @email.com will always be the ending. Also where (on gotfocus) is the best place to put this code so it autopopulates after the FName and LName are entered?
Thanks!
Rick
View 1 Replies
View Related
Mar 21, 2013
I designed and used an Access 2003 for some time but I have recently updated to Access 2013 and want to rejig and improve my database. My query is that I need to print invoices from my database, there is a header section with my details, then a section with the customers name and address at the left hand side, and the invoice details such as invoice number, invoice date, PO number, credit terms, etc. at the right hand side. I would like to remove any blank lines from the customers address but to still have the invoice details at the right formatted and spaced correctly. Is there any way of doing this, the canshrink property will not work due to the invoice details which still need to be printed to the right?
View 3 Replies
View Related
Jul 2, 2014
I do have another problem with my "Membership Monster" After designing the base with only registential Addess information in the data entry Form. I had to include fields for a separate postal address. This only applies to maybe 10 of 400 entries is there a simple clever way I can copy this data over to the new postal detail fields from the Residential detail feilds ? I thought it may be possible to set thee residential fields as source data. But I am unsure if it is then possible to enter different data over the top if the postal address is different.
I also then need to be able to mail merge the postal details of current members so as print out address labels for the magazine.
View 5 Replies
View Related
Sep 30, 2015
I have an address field containing "City", Street Name, and street Address. How do I link these fields together on a form so that when I enter data into the "City" field the rest of the fields making up the address fills in?
View 7 Replies
View Related
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
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
Aug 28, 2006
Hey,
The database I am working on, I split a while ago to give it some security. Now i'm updating a related form, and i'm finding that if I delete and add fields in the BE, the FE fields (being the fields that I need to insert into the form so the data entered propogates to the DB) are not updated.
How do I update the FE?
Thanks.
View 1 Replies
View Related
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
Feb 9, 2006
Hi all.
I have been given a simple task, but i have no idea how to do it! I need a form to do the following:
User types in a reference, for example TEST1
We have a standard link along the lines of http://www.testtesttest.com/blaablaa/
We need access to append the "TEST/1" (or whatever the user has entered) to the end of the link, so the result would be:
http://www.testtesttest.com/blaablaa/TEST1
I would be extremely greateful of someone could let me know the best way of getting this done.
Kind Regards
Darren
View 1 Replies
View Related
May 4, 2006
I'm sorry if this has been asked before but I've had a look through the forum and tbh some of the answers were more complicated than I could cope with lol
If someone could explain simply how to do this I'd very much appreciate it :)
I have 2 tables:
Table 1 "Addresses" which contains Company, Address & Postcode
Table 2 "Shipping" which contains Number of pallets, Weights, dimensions, and a combo box for "ship to address" (which doesnt work lol)
and 1 form (which we print and fax) which I'd like to be able to select the company to which the shipment must go (looking it up from the "Addresses" table) and which would then fill the relavent fields on the form for the rest of the address.
I seem to have a mind block on this as I just cant get it to work :(
PS I'm VERY new to access so "the simpler the better" please :)
Ta muchly
View 13 Replies
View Related
Jan 16, 2014
I want to get ip address in a text box on a form?
View 12 Replies
View Related
Dec 13, 2006
I have an SQl statement which brings out the correct resutls however does not update the fields requested, Can any see what is worng with the followng code.
When testing the code the results are exactly wat i want, but they dnt seem to be updating the fields. Theere is a command button on the form, a list of orders appear on a listbox on the form which i have locked.
If StrPtr(stringy1) <> 0 Then
Me.Person.SetFocus
Sql = "Update [tbl_Delupdate] SET "
Sql = Sql & "[Date of D Status] = '" & Stringy2 & "', "
Sql = Sql & "[D Status] = 'Delivered' "
Sql = Sql & "WHERE [Time of Transaction] = #" & datMaxDate & "# "
Sql = Sql & "AND [Cylinder Barcode Label] = '" & stringy1 & "' "
Sql = Sql & "AND [Works Order Number] = '" & Me.Person.Text & "' "
MsgBox Sql
Debug.Print Sql
db.Execute (Sql)
View 1 Replies
View Related
Feb 9, 2005
I've created an ubounded form and all of my fields are not populating. 7 out of 13 fields show data but not all of the data. When I look at the table all information is documented but able to view on form. I've gone over other DB's for review and can't seem to figure out why it's not populating. Also I can't delete any of the records.
I've attached the db for some1 to help me...
View 4 Replies
View Related
Feb 2, 2008
Here's my problem:
I have a table called WorkOrder. I have fields labeled:
JobID, which is an autonumber
WODate, which is formatted as =Date()
and WOID, long integer
Here's what I want to do and have done:
On my form I have WOID control source set to:
=Format([WODate],"mmddyy") & Format([JobID],"00")
I know that storing calculated values isn't the preferred method but it's what I've done.
The problem is I have a cmd button on the form, that when clicked asked for the WOID. This button is based on a query to print a specific work order.
The problems is that this calculated value (WOID) isn't appended to the table so nothing exists when the cmd button is click and the WOID is entered.
How can I update the table with this WOID for the specific job?
View 1 Replies
View Related
Dec 1, 2006
i have an address memo field
on the form.. is there a way to display entries already present in certain address fields
eg..
the following address is in the 'pickup address' field and the 'destination address' field
23 High Street, South Kensington
so...
i put a rule on my pickupaddress memo field on my form..
if they type 23.. the rest of the above address appears and offers itself to the field as a sign of good will.. of course the user can just type over it if it happens to be a different address starting with 23..
is this hard to do?
View 10 Replies
View Related
Feb 7, 2013
I have a form that shows first name, last name, email, date appointment, time appointment.
If I just select the regular email option (form attached as pdf) I have to type in the email address manually.
How can I make sure the form is attached as a pdf to my email and the email address that is on the form that I have open is automatically put in the TO: field in my outlook?
Basically I just want to use 2 mouseclicks: button on the form to create an email in outlook and click the send button in outlook.
View 7 Replies
View Related