473,327 Members | 2,055 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Write one entry multiple times??

I created a barcode:
<%
RMABarCode = Request.Form("idrma")
IF Len(RMABarCode) Then
response.write "<img src='barcode.asp?code=" & RMABarCode &
"&height=25&width=1&mode=code39'>"
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

Oct 27 '06 #1
6 1127

"Mangler" <dw******@directwireless.comwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
>I created a barcode:
<%
RMABarCode = Request.Form("idrma")
IF Len(RMABarCode) Then
response.write "<img src='barcode.asp?code=" & RMABarCode &
"&height=25&width=1&mode=code39'>"
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("idrma")
NoTimes = Request.Form("NoTimes")
If Len(RMABarCode)>0 Then
If IsNumeric(NoTimes) Then
For i = 1 to NoTimes
response.write "<img src='barcode.asp?code=" & RMABarCode &
"height=25&width=1&mode=code39'><br>"
Next
End If
End If
%>

--
Mike Brind
Oct 27 '06 #2
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

Oct 27 '06 #3

"Mangler" <dw******@directwireless.comwrote in message
news:11*********************@m73g2000cwd.googlegro ups.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
Oct 27 '06 #4
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

Oct 27 '06 #5

"Mangler" <dw******@directwireless.comwrote in message
news:11*********************@k70g2000cwa.googlegro ups.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>)
Oct 27 '06 #6
We are good! Thanks for the help.

Respecfully,

Danny

Oct 27 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Russ | last post by:
My web app writes some binary data to a file at the client site via Response.Write and Response.BinaryWrite. This action is accomplished in response to a button click, with C# code behind as...
5
by: Sumana | last post by:
Hi All, We developed our project on VC++.Net console application to create image of disk and to write the image We are having problem with reading and writing the sector beyond 6GB Disk or...
0
by: cherryparadise001 | last post by:
Hi All, I have moved an asp system from Window Server 2000 to Window Server 2003 recently. Many error occured and most of them are unable to get the control's value in the page. I am newbie to...
17
by: Timothy.Rybak | last post by:
Hello all, This is my first attempt at an application, so kid gloves are appreciated. I need to make a very simple form that only has a few elements. One is TraceCode - a text field that is...
6
by: yk | last post by:
Hi, Is it a technique available in html/javascript in order to display same image many many times on a same page? Because of a large page loading I am looking for a way not to have same...
5
by: barnetod | last post by:
I am trying to open a text file designated by the user. Then I want to change all lower case values to capital letters. Then write file. I am stuck and can not change the characters or am...
10
by: crazycooter | last post by:
I found an old thread on this (http://groups.google.com/group/alt.php/ browse_thread/thread/751edb9c723316c4/ea9bf92a9c6b807c?lnk=gst&q=mail() +duplicate&rnum=7#ea9bf92a9c6b807c), but there didnt...
2
kcdoell
by: kcdoell | last post by:
Hello: I have four tables: tblDivision tblWorking_Region tblCredit_Region tblForecast (This is the main data entry table for all forecasting records) tblDivision has the following fields:
5
by: billa856 | last post by:
Hi, My project is in MS Access 2002. In that I want to open one form multiple times. I put one button on my main form. Now whenever I click on that button than form will be open. Now when I...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.