Really need help with VBA calculation

Mitt1

Registered User.
Local time
Today, 11:44
Joined
Apr 20, 2016
Messages
19
Okay so i'm pretty new to VBA and I've been trying for hours to get this calculation to work

2011245b268f19be53fd23ff602a4d4c.jpg

I simply want to the net amount number when multiplied with the ceiling price (the prices are in the subform in the bottom right of that image) to show the total in the unit price column. I've tried loads of different thing but keep getting errors or nothing happening

Code:
Private Sub orderLineTotal_Click()
Forms![sbfrmOrderLine]![orderLineTotal] = Forms![sbfrmCeilingPrice]![ceilingPrice] * Forms![sbfrmOrderLine]![orderLineAmount]
End Sub

Can someone help me to get this to work, it's really really annoying
 
So far I can see, you've already ask that question once before in another thread!
Multiply threads with the same question, doesn't give you a faster response, rather the opposite.
 
Try doing this in a query.

Use the Query grid to build your calculation.

If you can't do that then post a much cut down version of your database.
 
Try doing this in a query.

Use the Query grid to build your calculation.

If you can't do that then post a much cut down version of your database.


I was told specifically I have to use VBA code though do to all my calculations
 
There's too many things that could be wrong. Without seeing the database it's difficult to provide any help.
 

Users who are viewing this thread

Back
Top Bottom