Put it in OnCurrent event.
Steve
> I have this suform with this control InQty, OutQty, TotalQty (In- Out Qty)
>
[quoted text clipped - 13 lines]
>
> Any help?
EMILYTAN - 28 Jun 2007 02:00 GMT
You mean put in form on Current?
If that is the case, I have tried it before, it can only work when the user
select to the current record.
Isn't a bit troublesome, only get to see the result when the user select the
current record especially my case is, the data is loaded in?
Is there any way, is will calculated once the form is being loaded?
>Put it in OnCurrent event.
>
[quoted text clipped - 5 lines]
>>
>> Any help?
Naeem Azizian - 28 Jun 2007 07:43 GMT
On Jun 28, 5:00 am, "EMILYTAN via AccessMonster.com" <u33296@uwe>
wrote:
> You mean put in form on Current?
> If that is the case, I have tried it before, it can only work when the user
[quoted text clipped - 15 lines]
> --
> Message posted via AccessMonster.comhttp://www.accessmonster.com/Uwe/Forums.aspx/access-formscoding/200706/1
Put it in the On Load and if that still doesn't help delay it further
by putting it on the on activate
>I have this suform with this control InQty, OutQty, TotalQty (In- Out Qty)
>
[quoted text clipped - 11 lines]
>However, I tried to put in form load, but it can only work for the first
>record.
Try putting the calculation in the subform's record source
query.

Signature
Marsh
MVP [MS Access]
EMILYTAN - 29 Jun 2007 02:07 GMT
Because I am doing calculations using DLookUp, so its better to do it using
VBA...
>>I have this suform with this control InQty, OutQty, TotalQty (In- Out Qty)
>>
[quoted text clipped - 4 lines]
>Try putting the calculation in the subform's record source
>query.
EMILYTAN - 29 Jun 2007 02:07 GMT
Because I am doing calculations using DLookUp, so its better to do it using
VBA...
>>I have this suform with this control InQty, OutQty, TotalQty (In- Out Qty)
>>
[quoted text clipped - 4 lines]
>Try putting the calculation in the subform's record source
>query.
EMILYTAN - 29 Jun 2007 02:08 GMT
Because I am doing calculations using DLookUp, so its better to do it using
VBA...
>>I have this suform with this control InQty, OutQty, TotalQty (In- Out Qty)
>>
[quoted text clipped - 4 lines]
>Try putting the calculation in the subform's record source
>query.