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
MSSQL 2008 Reporting Services - Where In Problem
SharePoint 2010 search service always been disabled
Create rule in Exchange 2007 to delete E-mail out of a mailbox
Userform failed to open
Migrating WSUS repository directory into different drive
HTML Form w/js input validation
Best practice to raise domain and forest func. level?
Creating Custom IDs
Windows 7 domain User cannot connect to outlook-exchange
JavaScript, arrays, and DropDown