473,386 Members | 1,924 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,386 software developers and data experts.

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
Jul 19 '05 #1
2 1455
"Laphan" <ne**@DoNotEmailMe.co.uk> wrote in message
news:3f********@127.0.0.1...
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

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
http://www.experts-exchange.com/Web/..._20170028.html

3) "page break" :

<style type="text/css">
..page { page-break-before:always }
</style>

<div class="page"></div>

Insert the above line between orders.
Jul 19 '05 #2
Dear McK

Many thanks for coming back to me re this.

This is invaluable info and should help me out.

Rgds

Rob

McKirahan <Ne**@McKirahan.com> wrote in message
news:bHxAb.444038$HS4.3497851@attbi_s01...
"Laphan" <ne**@DoNotEmailMe.co.uk> wrote in message
news:3f********@127.0.0.1...
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

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
http://www.experts-exchange.com/Web/..._20170028.html

3) "page break" :

<style type="text/css">
..page { page-break-before:always }
</style>

<div class="page"></div>

Insert the above line between orders.


Jul 19 '05 #3

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

Similar topics

3
by: Jason Rodman | last post by:
I have downloaded every example on how to create a ping utility in .Net in both VB and C#, but have been disappointed with the results. I have YET to find an example that returns consistent results...
0
by: Ed | last post by:
I've attached some VB.NET code I've hacked together (some taken from MS examples & newsgroup postings) that will perform a ping or IcmpSendEcho using the icmp.dll (see this for more info:...
0
by: scotty | last post by:
I need to do a ping scan of a subnet. I can Enum through the IPs and do this, but it takes over 5 minutes as I can only create 1 process at a time. Does anyone know how I can create multiple Ping...
21
by: Neel | last post by:
I am trying to "ping" a remote host in my C++/Redhat Linux code to check whether that host is connected or not. if (0 == system("ping -w 2 192.168.0.2)) But, in both cases...
5
by: Deepak | last post by:
I am programing a ping application which pings various centers . I used timer loop and it pings one by one. Now when i finish pinging one center it should wait for the ping_completed function to...
1
by: Krish | last post by:
All, I have an offline application that works online for some data syncronization. For data syncronization I access a webservice. I want to show whether my application is online or not by checking...
3
by: imughal | last post by:
I got the perl script which does following task. This solution reads in a line from a text file that is passed in as input parameter 1 to a Perl script. This script will then ping the machine...
6
by: Dave Marden | last post by:
I currently use this routine in vbscript to ping computers and get the status of ping to determine whether to try to backup a machine, I am trying to change it to work with vb2003.net I am...
6
by: munkee | last post by:
I am sending semi automated emails within my access database using our companies internal smtp server. One of the issues I had was capturing whether people were connected to the lan to be able to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.