Write one entry multiple times??

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mangler

    Write one entry multiple times??

    I created a barcode:
    <%
    RMABarCode = Request.Form("i drma")
    IF Len(RMABarCode) Then
    response.write "<img src='barcode.as p?code=" & RMABarCode &
    "&height=25&wid th=1&mode=code3 9'>"
    End If
    %>

    Does anyone know how to display that barcode multiple times through a
    variable?

    Say a user needs to print 4 of the above barcode, they would be able to
    enter the number of barcodes they need and it will display that many to
    be printed.

    Any kind of help is appreciated.

    Respectfully,

    Danny

  • Mike Brind

    #2
    Re: Write one entry multiple times??


    "Mangler" <dwaldman@direc twireless.comwr ote in message
    news:1161979854 .509111.184540@ i42g2000cwa.goo glegroups.com.. .
    >I created a barcode:
    <%
    RMABarCode = Request.Form("i drma")
    IF Len(RMABarCode) Then
    response.write "<img src='barcode.as p?code=" & RMABarCode &
    "&height=25&wid th=1&mode=code3 9'>"
    End If
    %>
    >
    Does anyone know how to display that barcode multiple times through a
    variable?
    >
    Say a user needs to print 4 of the above barcode, they would be able to
    enter the number of barcodes they need and it will display that many to
    be printed.
    >
    Add another field for the user to enter the number of times they want to
    print the barcode.

    <%
    RMABarCode = Request.Form("i drma")
    NoTimes = Request.Form("N oTimes")
    If Len(RMABarCode) >0 Then
    If IsNumeric(NoTim es) Then
    For i = 1 to NoTimes
    response.write "<img src='barcode.as p?code=" & RMABarCode &
    "height=25&widt h=1&mode=code39 '><br>"
    Next
    End If
    End If
    %>

    --
    Mike Brind


    Comment

    • Mangler

      #3
      Re: Write one entry multiple times??

      Thanks for the reply.

      I got an error when the <bris added and when I take it out it
      displays one continuous barcode.

      Any ideas?

      Respectfully,

      Danny

      Comment

      • Mike Brind

        #4
        Re: Write one entry multiple times??


        "Mangler" <dwaldman@direc twireless.comwr ote in message
        news:1161982122 .658716.78120@m 73g2000cwd.goog legroups.com...
        Thanks for the reply.
        >
        I got an error when the <bris added and when I take it out it
        displays one continuous barcode.
        >
        Any ideas?
        >
        Not without some clue as to what error you got.

        --
        Mike Brind


        Comment

        • Mangler

          #5
          Re: Write one entry multiple times??

          I played with it and got it to work. My only thing is it displays the
          barcode across like:

          (barcode) (barcode)

          How can i get it to show it like:

          (barcode)

          (bracode)

          Respectfully,

          Danny

          Comment

          • Mike Brind

            #6
            Re: Write one entry multiple times??


            "Mangler" <dwaldman@direc twireless.comwr ote in message
            news:1161983439 .463123.27150@k 70g2000cwa.goog legroups.com...
            >I played with it and got it to work. My only thing is it displays the
            barcode across like:
            >
            (barcode) (barcode)
            >
            How can i get it to show it like:
            >
            (barcode)
            >
            (bracode)
            By putting <brback in.

            Or surrounding each image with <p>...</p>. (Or <div>... </div>)


            Comment

            • Mangler

              #7
              Re: Write one entry multiple times??

              We are good! Thanks for the help.

              Respecfully,

              Danny

              Comment

              Working...