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
Tomcat console closing
How to display two types of file format in OpenFileDialog in windows application using c#
http://companyweb
WinForm Binding to child on UserControl
Row and Column Group not placing value where I expect
How do I remove "rassdk://" from Crystal Report Filename property?
Mixing Albert Kallal Mail merge with bookmark/range mail merge
Macro to Sort by Column and Delete Blanks
Does viewdidload ever not-get-called?
Access 2003 in report how to change the results of data