Form to update table

Tcurtis

Board Regular
Joined
Aug 15, 2009
Messages
149
I have a table with contacts in it and a table of task I would like to assign to people. How can I use one form to update the name and email fields of task table with the information from the contacts table? I have the form for the task/investigation but cannot figure out how to pull the contact information over to the form and have it update the task/investigation table. I would like to do this so I can send out an email with this assignment asking for updates using the data collection process built into access.
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
in the form, youd have a list of contacts, and a combo of tasks.
select the task.
dbl-click each contact you want to add. On the dbl-click event, this runs an append query. the query appends the contact (from the list) and the task (in the combo) to the tAssignedTask table.
this result could also show in a list box on the form. (which must be updated each dbl-click, lstResults.requery)

Then once completed. You would have code scan thru the list, lstResults and send each an email.
 
Upvote 0
1. Create a Combobox on the Task Form near the task table Name field.
2. Display the Property sheet of the Combobox.
3. Enter the following SQL String in the Row Source Property:
Code:
SELECT Contacts.Name FROM Contacts ORDER BY [Name];
4. Make changes in the SQL String to match table name and field name.
5. Change the Control Source property value to the Tasktable Name field.
6. Repeat Step-1 to 5 for the Email field too.
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,853
Members
452,361
Latest member
d3ad3y3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top