Re: Referencing a sum query result in a text box
From: Darrell Cyphers (DC_at_sd.com)
Date: 06/07/04
- Next message: Darrell Cyphers: "Re: Referencing a sum query result in a text box"
- Previous message: Doug: "Want to eliminate standard msg - You can't save this record at this time"
- In reply to: Steve Schapel: "Re: Referencing a sum query result in a text box"
- Next in thread: fredg: "Re: Referencing a sum query result in a text box"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 07 Jun 2004 08:56:12 -0700
It was a single result, so the provided code worked
perfectly! Thank you!
Steve Schapel wrote:
> Darrell,
>
> It depends really on the specifics of what you mean. If you have a
> query that just returns one value, or one record, you could use an
> expression similar to this in the Control Source of your textbox,
> presumably on a form or a report...
> =DLookup("[NameOfTotalField]","NameOfQuery")
> If you have a query that produces totals according to groupings of your
> data, and if this is related to the other data in the form/report, and
> if a form, assuming you don't need to edit or enter data, you can
> probably include the totals query into the existing query that the form
> is based on.
> If this doesn't help, please post back with more details of what you are
> trying to achieve.
>
- Next message: Darrell Cyphers: "Re: Referencing a sum query result in a text box"
- Previous message: Doug: "Want to eliminate standard msg - You can't save this record at this time"
- In reply to: Steve Schapel: "Re: Referencing a sum query result in a text box"
- Next in thread: fredg: "Re: Referencing a sum query result in a text box"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|