Microsoft
Software
Hardware
Network
Question : Access Report Help Needed
Hi,
It's Monday and I have a mental block.. I have an access report based on a query which contains a simple bill-of-materials list including bom-level, part number and qty.
The report lists all the parts and also associated costs to give totals at the bottom. The qty of the 'top level' part is not always one as I'm using this query to roll-up costs for a batch of parts as well.
With this in mind, I also want the report to calculate the unit cost at the bottom which will simply be the total cost / top-level part qty - the question is, how do I refer to the qty field in the first record of the report? I'm sure I've done this a thousand times but my head has gone!
Thanks in advance.
Answer : Access Report Help Needed
Try the DFirst function
DFirst("[qty]", "<YOURREPORTQUERYNAME>")
Why do you want to refer to the qty of the first record?
Explain a bit more or post a sample and we may be able to give you better advice.
Random Solutions
Can Windows 7 Starter Edition connect to a Windows Server VPN (RRAS)
delete facebook account
close datareader connection
Need to change the default Administrator password in a SQL 2005 database
Powershell - Help with existing script/csv combo
Security certificate error in Outlook 2007 (error 8)
SQL Query for report
PHP/RegEx to Extract Data from img tag
owa 2003 login failure with DNS
Installing updates server 2003 r2