John,
You apparently have a Bonds table with a primary key of BondID. How about
setting up a form/subform where the main table is based on the Bonds table and
the subform is based on the MktPrices table. The LinkMaster/LinkChild properties
would be BondID. In the subform you could have one textbox bound to PriceDate
and one textbox to enter Price. In the AfterUpdate event of the Price textbox
put this code: Me!NameOfPriceDateTextBox = Date()
So you could go to a Bond in the main form and the subform would automatically
go to the Price records of that Bond. You could enter today's price for the Bond
and the code would automatically enter today's date for you in the PriceDate
textbox. The PriceDate textbox would be editable so that if the price was for
another day rather than today, you could change today's date to the appropriate
date.
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
www.pcdatasheet.com
"John" <jo********@hotmail.com> wrote in message
news:a1*************************@posting.google.co m...
Hi - I am trying to perform a simple append query, with no luck. I
have a table (MktPrices) that has the following fields: BondID,
PriceDate, Price. The objective is to allow the user to input a date
and have the append query create a new record for each BondID, using
the input date and the most recent price - which the user can then
update on a tabular form. I have created a totals query
(qryMostRecentPrice) which selects the most recent price (Max of Date,
group by BondID) for each BondID, but cannot work out the append
query. Thanks, John