|
|
|
|
|
| | |
|
Active Server Pages help tutorial how to ASP Help ASP Tutorials ASP Programming ASP Code - ASP Free CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Re: Please Help.Urgent! |
From: |
bigdog |
Date: |
3/16/2001 2:50:24 PM |
IP: |
198.166.214.4 |
Hey snowyn, I not really sure what you rtrying to do but I think I can help you a little bit.
I going to assume that there are several records in the opentab table that you are not going to want to return in your recordset.
I would store the values of 'to' in a string array before I pass it to the opentab table. Then use a loop and sql statement to pull out the records you want. I would then loop through the records and compare the distance saving the shortest.
Like I said i'm not sure what you are trying to do exactly. It looks to me like your algorithm is somewhat flawed. You did point one of the flaws in your message another is what happens if d to g is shorter than f to g making the total distance short? |
Previous Message
Follow Up - Re: Please Help.Urgent! - snowyn 3/17/2001 11:40:21 AM
|
|
|
|
|
|
|
|
|
|
|
|