Minggu, 04 September 2011

Re: [MS_AccessPros] Retrieving data from a calculated control to another form.

 

Hi Graham,

Thank you! That worked perfectly!!

Deb

On Sun, Sep 4, 2011 at 4:36 PM, Graham Mandeno <graham@mandeno.com> wrote:

> Hi Deb
>
> You can't use aggregate functions like Sum() on *controls*. You can only
> use *fields* (or expressions based on fields).
>
> So, this should work:
> =Sum([Quantity]*[Unit_Price])
>
> A better solution would be to add Part_Cost as a calculated field to the
> query on which your form is based. Then you can treat it like any other
> field (except editing it of course!) - you can bind it to your Part_Cost
> textbox and use it in your =Sum([Part_Cost]) expression. It will also
> avoid
> the annoying behaviour of slowing down the painting of your continuous
> form.
>
> Best wishes,
> Graham
>
>

[Non-text portions of this message have been removed]

__._,_.___
Recent Activity:
MARKETPLACE
A bad score is 579. A good idea is checking yours at freecreditscore.com.

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

Tidak ada komentar:

Posting Komentar