Open Source Institute | CyberArmy Intelligence & Security | CyberArmy Services & Projects

Try this


[Replies] [Reply] [View by Thread] [Help]
[Back To CyberArmy Public Forum]

Posted by Lt FanTasY On 2002-12-13 17:02:09
In Reply to more access problems Posted by Tr goremaster On 2002-12-13 09:27:16

Lt
Lt FanTasY


You must define an event action. You can find a tut about it @
http://mis.bus.sfu.ca/tutorials/MSAccess/tutorials/macro.pdf
Other tutorials about related things can be found here:
http://mis.bus.sfu.ca/tutorials/MSAccess/tutorials.html

Hope that helps
-+ Fantasy +-
On 2002-12-13 09:27:16, goremaster wrote
>Having trouble in access, i have the tables:
>
>TblSales
>------------
>SaleID (PK)
>EmployeeID
>DateOfSale
>TimeOfSale
>StockID
>Quantity
>UnitPrice
>TotalSalePrice
>
>and
>
>TblStock
>--------
>StockID
>Description
>UnitPrice
>TypeOfStock
>Damaged?
>Shelf-Life
>Edited?
>CurrentQuantity
>SuggestedStockLevel
>QuantityToOrder
>
>I have two forms with exactly the same fields FrmSales and FrmStock
>
>In the sales form I have a seperate part that looks like this
>
>---------------------------------
>| StockID| \/ | (combo box)
>---------------------------------
>-----------------------
>Quantity|| (text box)
>-----------------------
>-----------------------
>Unit Price|| (text box)
>-----------------------
>-----------------------
>Total Sale Price|| (text box)
>-----------------------
>
>the above is from the sales form with the combo getting information from TbLStock, while text boxes all linked to TblSales, what I want to do is this... when a StockID is chosen, i need access to look into TblStock and retreive the Unit Price from there and put it into the Unit Price box in FrmSales
>
>It would help if there was either code to do that, or a better way that I can't think of.
>
>-------------------------------------------------
>The Gore Master - Mere Trooper
>
>I'm as good a Trooper as Rincewind is a Wizard.
>-------------------------------------------------


Lieutenant Kernel Lt.KernelFantasy
C/O Web Site Management Division (#455)

Contact


Replies:


Guest:
Subject:
Message:
Signature:
Optional Image Link:
http://

CyberArmy::Forum v0.6
Generated In 0.05134 seconds


About Us | Privacy Policy | Mission Statement | Help