Ask a Question related to ASP Database, Design and Development.
-
Laphan #1
Ping Clever Thinkers!!
Hi All
I know its a strange subject, but I think I need help with the logic rather
than the actual coding bit.
Basically I created a secure order system using an Access DB and ASP. I
used the standard routine of display a list of the orders with the minimum
info, eg order number, date, customer name, etc, and then the merchant
clicks into each one of these orders to see the whole order details and to
print off the order.
Although the client is happy with the system, they're finding it laborious
to keep clicking through each order and printing it out. Nice for some that
they get that many orders that the process gets tiresome!!!
So my cry for help is how would you get round this?
I have created a little routine whereby they can click a checkbox next to
each order in the list and then click a button to delete them en masse, but
if I use this method for them to display lots of orders surely I'm going to
reach the dreaded timeout scenario as the server tries to bring all the data
into one window - right?
I could allow them to select only a few a time, eg they can only select 5
orders at a time and then display these all on one page, but:
a) I don't know how to check for a certain number of checked boxes.
b) I don't know if the server timeout would still be a problem.
c) I need to make sure that a proper page break was initiated between each
order.
I did think of creating a text file of the orders so that they could
download this file, but I thought this might have serious security
implications and the data might not be as legible when in text file mode.
Your thoughts and comments would be appreciated.
Rgds
Laphan
Laphan Guest
-
Any of you clever ones know what this does please?
I found this on my computer in a text file named ;1106154734.txt. Does anyone know how it would have got on my computer and what it does? Thanks,... -
A genuine opportunity for Clever home flash animators
Hi people- My name's Vic Davies. Former host of the Australian radio comedy program Club Veg. I have just invested a year of my time and most of my... -
Looking for a more clever solution
I have a client with an app that uses a modem to page technicians. Doesn't want to do that; wants to sdend the data to their cell phone instead.... -
A clever way to define perl module library from CGI scripts?
I am in the process of moving ISP and need to amend the path to my module library. I have line in each of my scripts that goes use lib... -
IP ping
I have some programs that connect to servers, etc. that time out after non use for 20 minutes or so. If there some program I can load or use... -
McKirahan #2
Re: Ping Clever Thinkers!!
"Laphan" <news@DoNotEmailMe.co.uk> wrote in message
news:3fd22943_3@127.0.0.1...rather> Hi All
>
> I know its a strange subject, but I think I need help with the logicthat> than the actual coding bit.
>
> Basically I created a secure order system using an Access DB and ASP. I
> used the standard routine of display a list of the orders with the minimum
> info, eg order number, date, customer name, etc, and then the merchant
> clicks into each one of these orders to see the whole order details and to
> print off the order.
>
> Although the client is happy with the system, they're finding it laborious
> to keep clicking through each order and printing it out. Nice for somebut> they get that many orders that the process gets tiresome!!!
>
> So my cry for help is how would you get round this?
>
> I have created a little routine whereby they can click a checkbox next to
> each order in the list and then click a button to delete them en masse,to> if I use this method for them to display lots of orders surely I'm goingdata> reach the dreaded timeout scenario as the server tries to bring all the> into one window - right?
>
> I could allow them to select only a few a time, eg they can only select 5
> orders at a time and then display these all on one page, but:
>
> a) I don't know how to check for a certain number of checked boxes.
>
> b) I don't know if the server timeout would still be a problem.
>
> c) I need to make sure that a proper page break was initiated between each
> order.
>
> I did think of creating a text file of the orders so that they could
> download this file, but I thought this might have serious security
> implications and the data might not be as legible when in text file mode.
>
> Your thoughts and comments would be appreciated.
>
> Rgds
>
>
> Laphan
1) "number of checked boxes" :
<script language="javascript" type="text/javascript">
<!--
function checkboxes() {
form = document.form1;
var chec = 0
for (var i=0; i<form.box.length; i++) {
if (form.box[i].checked) chec++;
}
alert(chec + " checkboxes are checked.");
}
// -->
</script>
<form name="form1">
<br>1. <input type="checkbox" name"box" value="1">One
<br>2. <input type="checkbox" name"box" value="2">Two
<br>3. <input type="checkbox" name"box" value="3">Three
</form>
2) "server timeout" :
Prevent ASP timeout
[url]http://www.experts-exchange.com/Web/Web_Languages/ASP/Q_20170028.html[/url]
3) "page break" :
<style type="text/css">
..page { page-break-before:always }
</style>
<div class="page"></div>
Insert the above line between orders.
McKirahan Guest
-
Laphan #3
Re: Ping Clever Thinkers!!
Dear McK
Many thanks for coming back to me re this.
This is invaluable info and should help me out.
Rgds
Rob
McKirahan <News@McKirahan.com> wrote in message
news:bHxAb.444038$HS4.3497851@attbi_s01...
"Laphan" <news@DoNotEmailMe.co.uk> wrote in message
news:3fd22943_3@127.0.0.1...rather> Hi All
>
> I know its a strange subject, but I think I need help with the logicthat> than the actual coding bit.
>
> Basically I created a secure order system using an Access DB and ASP. I
> used the standard routine of display a list of the orders with the minimum
> info, eg order number, date, customer name, etc, and then the merchant
> clicks into each one of these orders to see the whole order details and to
> print off the order.
>
> Although the client is happy with the system, they're finding it laborious
> to keep clicking through each order and printing it out. Nice for somebut> they get that many orders that the process gets tiresome!!!
>
> So my cry for help is how would you get round this?
>
> I have created a little routine whereby they can click a checkbox next to
> each order in the list and then click a button to delete them en masse,to> if I use this method for them to display lots of orders surely I'm goingdata> reach the dreaded timeout scenario as the server tries to bring all the> into one window - right?
>
> I could allow them to select only a few a time, eg they can only select 5
> orders at a time and then display these all on one page, but:
>
> a) I don't know how to check for a certain number of checked boxes.
>
> b) I don't know if the server timeout would still be a problem.
>
> c) I need to make sure that a proper page break was initiated between each
> order.
>
> I did think of creating a text file of the orders so that they could
> download this file, but I thought this might have serious security
> implications and the data might not be as legible when in text file mode.
>
> Your thoughts and comments would be appreciated.
>
> Rgds
>
>
> Laphan
1) "number of checked boxes" :
<script language="javascript" type="text/javascript">
<!--
function checkboxes() {
form = document.form1;
var chec = 0
for (var i=0; i<form.box.length; i++) {
if (form.box[i].checked) chec++;
}
alert(chec + " checkboxes are checked.");
}
// -->
</script>
<form name="form1">
<br>1. <input type="checkbox" name"box" value="1">One
<br>2. <input type="checkbox" name"box" value="2">Two
<br>3. <input type="checkbox" name"box" value="3">Three
</form>
2) "server timeout" :
Prevent ASP timeout
[url]http://www.experts-exchange.com/Web/Web_Languages/ASP/Q_20170028.html[/url]
3) "page break" :
<style type="text/css">
..page { page-break-before:always }
</style>
<div class="page"></div>
Insert the above line between orders.
Laphan Guest



Reply With Quote

