report query using VB

kabir_hussein

Registered User.
Local time
Today, 21:35
Joined
Oct 17, 2003
Messages
191
Hi i am trying to do a report for orders that are less than 1.

The textbox that does the calculation does not belong to a table. it is purely for the report. I have added the textbox to the report for other reasons.

Does anyone know how i would need to write some code for the report to only show list of items that are below 1

below is how the report looks like, i have asked a similar query but reaslised it was a bit complicated
 

Attachments

  • order.jpg
    order.jpg
    75.1 KB · Views: 185
Do the calculation in the query and use it as selection criteria.
 
Hi Paul

this might sound but i thought u couldnt do calculations on queries.

if so how would you do it

thanks
 
Select ((fld1 * fld2) + fld3) as calcFld from yourtable;
 

Users who are viewing this thread

Back
Top Bottom