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 » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Assign a Table field a value from a form



 
 
Thread Tools Display Modes
  #1  
Old May 11th, 2009, 08:42 PM posted to microsoft.public.access
FSHOTT[_2_]
external usenet poster
 
Posts: 58
Default Assign a Table field a value from a form

I have a Purchasing Data Input form which contains subforms to input reject
part number data. Since there can be multiple reject part numbers each line
of the subform has fiels for the number of lots/PN rejected and quantity/PN
rejected. I total the part number reject lots and quantities and reflect
these in the main part of the form (and check them against total received
lots and quantities). I want to add these total reject lots and total reject
quantities to the main purchasing table in fields I have identified as
TotalRejectLots and TotalRejectQty. How do I assign the total quantities
inputted to the subforms into the main purchasing table? The reject lots/PN
and reject quantity/PN fields are stored in a Reject Table which is
linked(one to many) to the purchasing table.
--
frank-a
  #2  
Old May 11th, 2009, 09:50 PM posted to microsoft.public.access
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Assign a Table field a value from a form

Why bother?!

If you already have the raw numbers stored from which you calculate a total,
then use a query to derive (i.e., calculate) that total on-the-fly.

If you store a calculated value like this, you risk your data's integrity --
how do you keep them in synch?

Consider using a query that calculates the values as needed.

Regards

Jeff Boyce
Microsoft Office/Access MVP


"FSHOTT" wrote in message
...
I have a Purchasing Data Input form which contains subforms to input
reject
part number data. Since there can be multiple reject part numbers each
line
of the subform has fiels for the number of lots/PN rejected and
quantity/PN
rejected. I total the part number reject lots and quantities and reflect
these in the main part of the form (and check them against total received
lots and quantities). I want to add these total reject lots and total
reject
quantities to the main purchasing table in fields I have identified as
TotalRejectLots and TotalRejectQty. How do I assign the total quantities
inputted to the subforms into the main purchasing table? The reject
lots/PN
and reject quantity/PN fields are stored in a Reject Table which is
linked(one to many) to the purchasing table.
--
frank-a



 




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 08:59 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.