Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: asiby
  • Order by date
  1. asiby

    Deleting from an array!

    Yes. And I have been trying to think of an easy way to do it and I have realized that Javascript does offer a lot more possibilities when it comes to array handling. So my idea will be to try too use a Class built with ASP-Javascript while the rest of the pages will be in ASP-VBScript. Asiby...
  2. asiby

    Deleting from an array!

    I clearely understand Ifx. You couldn't have been more clear. But, :D cause I still have a "but", what about creating some kind of "fake autonumber field/column" in you array ? It's just an idea. But as you said, it's working for now and that's all that matters for the...
  3. asiby

    Deleting from an array!

    Hello Ifx, Sorry to bother you again. But I am really curious to know why you have to have duplicate values in the product ID. It's just because I myself have been developping shopping carts for a while and I am starting to think that I am probably doing something wrong. Thanks Asiby aka...
  4. asiby

    Deleting from an array!

    Glad for you. Ok about an associative array that can hold two values . But did you try to store an array in the dictionnary object (embedded array) ? I have to admit that the shopping cart I did back then was pretty simple. Cause the only I had to store in the cart was the ID and the amount. I...
  5. asiby

    Deleting from an array!

    Hi everybody, I don't how you script works when you add a product to the basket. But here is something that could be good to think about. I have noticed that almost all the shopping cart just add a new item in the cart when the client choose to do so. Mine work like this : if you add an item...
  6. asiby

    Problem with a conditional statement

    I have few precision that may help (we never know) You have the following line in your code : $results = odbc_exec($connect,$query); You need to know that $results while only contain 2 possible kind of values : 1 - FALSE : if any error occurs . 2 - Returns an ODBC result...
  7. asiby

    INSERT INTO Problem

    Hello Tarwn: I think you are right BUT, when you send a query to the engine, at this time since the string is handled by the scripting language, don't you think that it maybe possible that the limit will be the one in VB? Well I am not sure, it is just an idea. Maybe we can try it by printing...
  8. asiby

    INSERT INTO Problem

    Hi man, I put together your insert query contained in insSTRING and I ended up with a amazing 644 long string. From what I know, I think that you are limited to only 255 charraters. Keep me posted
  9. asiby

    Comparing two numbers in a percentage format?

    Why don't you try to use CDbl() to convert the converter value into a double precision numeric value. coYR47J78 = CDbl(FormatPercent(coYR47J78,1)) coYR35G78 = CDbl(FormatPercent(coYR35G78,1)) If coYR35G78 >= coYR47J78 Then Response.write &quot;<td bgcolor = '#CCFFFF'> &quot; & coYR35G78 &...
  10. asiby

    Include problems

    Your example should work cause I did something like that before. Tell me more about how you acquire the value of the &quot;Content&quot; variable. And try sometimes to use a SELECT CASE structure. It's easier to read and to debug. asiby siby@abdoulaye.com http://www.abdoulaye.com
  11. asiby

    How to have a Tree View

    The following code is the one I was talking about. I found it first on the web site : http://www.dynamicdrive.com at the address http://www.dynamicdrive.com/dynamicindex1/navigate1.htm The pictures fold.gif and list.gif are just little icons representing and open folder (fold.gif) and a file...
  12. asiby

    What does &quot;Too few parameters&quot; mean?

    This error message means that a field name that you have used (in the SELECT or WHERE part) is not a field of the table(s) used in the query. I could have been more specific if I knew your table or database structure. Abdou
  13. asiby

    How to have a Tree View

    I know another way to do it! My method use an list element of HTML and a CSS property called &quot;dislay&quot;. Send me a mail if you haven't be satisfied by the previous posting. I like the HTML think cause it will be compatible with browsers (such as netscape) that don't support ActiveX...
  14. asiby

    MsgBox

    Hi buddy! I think that you will find everything you need here. First here is a list of constants that can be used with the VBScript MsgBox() function: Constant Value Description: vbOKOnly 0 Display OK button only. vbOKCancel 1 Display OK and Cancel...

Part and Inventory Search

Back
Top