Re: Producing Labels

From: tina (nospam_at_address.com)
Date: 12/28/04


Date: Tue, 28 Dec 2004 22:28:08 GMT

to get the remainder, try

    120 mod 50

that will return 20.

hth

"Joe Williams" <JOE@ANYWHERE.com> wrote in message
news:OfW2DpS7EHA.3708@TK2MSFTNGP14.phx.gbl...
> I would like to know how I can divide two numbers and have access give me
> the remainder instead of a decimal.
>
> I am making a label program for our products and I am looking to generate
a
> certain quantity of labels. In our Product ID table we have the number of
> pcs per box stored as a field.
>
> What I need to to is to tell the system we are shipping 120 pcs and it
will
> generate 2 labels for 50 pcs and 1 label for 20 pcs. If I divide in access
I
> get 2.4. What I would like is 2 with remainder of 50. how can I convert or
> is there another way to get that number?
>
> I have the printing and the number of labels figured out but I do not know
> how to do the division and get the remainder of 20 to print the partial
> label.
>
> Can anyone assist? Thanks
>
> Joe
>
>



Relevant Pages

  • Producing Labels
    ... I would like to know how I can divide two numbers and have access give me ... I am making a label program for our products and I am looking to generate a ... What I need to to is to tell the system we are shipping 120 pcs and it will ... What I would like is 2 with remainder of 50. ...
    (microsoft.public.access.formscoding)
  • Re: If you were inventing CoBOL...
    ... ANSI X3.23-1968 is also regularly referred to as "First Standard COBOL". ... COBOL rules before 1968 were pretty much a gentlemen's agreement, ... I often want just the remainder, ... For example: divide 7 into ...
    (comp.lang.cobol)
  • Re: Assemblers are for hiding your work , not for faster code .
    ... I'm concatenating the 32-bit remainder ... Divide 0:H by 10; quotient is MS output, ... and drop one or more numerator digits to ...
    (comp.arch.embedded)
  • Re: OT: A puzzle -
    ... On Thu, 08 May 2008 02:59:13 GMT, Wes Groleau ... Divide by four What is the remainder? ... The instructions are not clear. ...
    (alt.support.diabetes)
  • Re: OT: A puzzle -
    ... Divide by four What is the remainder? ... was either two or seven _before_ I finished saying, ... The instructions are not clear. ...
    (alt.support.diabetes)

Quantcast