A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Update Table Value Based Upon Form Entry



 
 
Thread Tools Display Modes
  #1  
Old April 7th, 2010, 09:40 PM posted to microsoft.public.access.forms
pschmuckie
external usenet poster
 
Posts: 1
Default Update Table Value Based Upon Form Entry

I have two tables 1) vendor list and 2) Financial Data...
The vendor list holds the vendors information, the financial data houses
certain key information from the vendors financials for each quarter.

As I update the form that populates the financial data with the financial
statement date 1Q10 (First quarter 2010) I want Access to update the vendor
list table to indicate that the 1Q financial statement has been received.
Essentially, need access to CLICK the box indicating the statements have been
received.

Any ideas on how to make that happen? I've tried default values and update
queries but neither of those will work.
  #2  
Old April 7th, 2010, 09:50 PM posted to microsoft.public.access.forms
Golfinray
external usenet poster
 
Posts: 1,597
Default Update Table Value Based Upon Form Entry

Build an update query to update the fileds you want. Then put a command
button on your from and go to the onclick event in properties. Start the code
builder and type Currentdb.execute ("name of your query")
--
Milton Purdy
ACCESS
State of Arkansas


"pschmuckie" wrote:

I have two tables 1) vendor list and 2) Financial Data...
The vendor list holds the vendors information, the financial data houses
certain key information from the vendors financials for each quarter.

As I update the form that populates the financial data with the financial
statement date 1Q10 (First quarter 2010) I want Access to update the vendor
list table to indicate that the 1Q financial statement has been received.
Essentially, need access to CLICK the box indicating the statements have been
received.

Any ideas on how to make that happen? I've tried default values and update
queries but neither of those will work.

  #3  
Old April 7th, 2010, 09:56 PM posted to microsoft.public.access.forms
PieterLinden via AccessMonster.com
external usenet poster
 
Posts: 307
Default Update Table Value Based Upon Form Entry

pschmuckie wrote:
I have two tables 1) vendor list and 2) Financial Data...
The vendor list holds the vendors information, the financial data houses
certain key information from the vendors financials for each quarter.

As I update the form that populates the financial data with the financial
statement date 1Q10 (First quarter 2010) I want Access to update the vendor
list table to indicate that the 1Q financial statement has been received.


I have a question: What will you do when you want to be sure the vendor's 2Q
financial statement has been received? It sounds to me like this information
should go in the Financial Data table, and not the Vendors table.

To answer your question, though... use the AfterUpdate event of the form to
set the indicator. Not that I recommend doing it this way, but it's what you
asked.

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/201004/1

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:25 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.