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: *

  1. jtreefrog

    Native Oracle SQL result into SQL Compact Edition

    I don't have a full version of SQL Server - only SQL Express and SQL Compact Edition. I was hoping do have this work in the background within the Windows program (I'm currently writing it with Visual Studio 2005/C#) ________________________________________ Give a man a match, he'll be warm for...
  2. jtreefrog

    Native Oracle SQL result into SQL Compact Edition

    I've got a table adapter (In Visual Studio 2005) that connects using an oracle data connector. In the adapter, I'm using native oracle SQL such as: SELECT TO_DATE(SUBSTR(TO_CHAR(weird_oracle_field),0,12),'YYYYMMDDHH24MI') AS dt_added FROM oracle_data_table There's also a CASE statement in...
  3. jtreefrog

    Subtraction problem

    GuitarDave: I don't see your whole code, but you may be running into variable scope issues as well - I don't see any instance of the 'var' keyword. Use of the var keyword will ensure that you aren't setting/resetting values of variables in other functions that may use the same var names...
  4. jtreefrog

    Passing in Varibles into an array

    The first thing I would recommed is to download firefox and the firebug extension. This will help tremendously in troubleshooting. Second, not only are you a .NET guy, but you're a VB.NET guy - hence the absence of semicolons ;) I'd recommend that you use the semicolon to delimit the end of...
  5. jtreefrog

    multidimensional array

    Thanks :) I've found that JSON makes coding a LOT faster and easier to read over traditional methods. leahyj: I would consider the first dimension your rows and the second dimension your cells (columns) - especially if you're considering creating an HTML table based on the data in your array...
  6. jtreefrog

    IE error System Call Failed

    I've run into this issue when the users click on things before javascript is done loading - aka slow servers. I've found that clever use of the onload event as well as response buffering on the server side help to alleviate these errors. Also - you may want to consider having your code *not*...
  7. jtreefrog

    multidimensional array

    Have you considered JSON? var multi = [ [1,2,3], [4,5,6,7], [8,9,10] ]; alert(multi[0][2]); // '3' alert(multi[1][3]); // '7' ________________________________________ Give a man a match, he'll be warm for a minute. But light him on fire, and he'll be warm for the rest of his life.
  8. jtreefrog

    Dynamically sized pop-up windows with JS

    Here's some code I once used. The popup window had one image in it and would resize itself after the image was loaded. You can customize this to your liking (the PHP code was because I used the same popup window over and over again): <? $imageURL = $_GET['url']; ?> <html> <head> <title>Full...
  9. jtreefrog

    Variable Scope

    My suggestion to you is to turn your error function into a class. Then you only have to declare your variables in the class once (constructor). In your scripts, you can include the class file, create a new error class, then call it whenever you're trapping errors in your code. Jon...
  10. jtreefrog

    Advanced &lt;img&gt; src change

    Technically speaking, those tags are only supported in IE. They do not work in Mozilla/Opera/NS browsers. That's fine if you're in an IE-only environment, but if it's a tool for the world to use, you may want to re-think it's use. I wish I could give you more help on this one, but the stack...
  11. jtreefrog

    Advanced &lt;img&gt; src change

    Your img tag has "onLoad" and "onError" withing the HTML tag. Those aren't supported as an HTML standard. A suggestion: Let's say that FoxWeb is incrementing the <<Current>> variable based on the number of records returned from a result set. Let's call the number of records, "totalRecords"...
  12. jtreefrog

    Advanced &lt;img&gt; src change

    I have no idea the capabilities of FoxPro (I have never used it), but you can use your own server-side code to make http requests for the images. When you make the request, check the error code stats. If you do not get a 404, the image is there. If you do, the image is not there. Jon...
  13. jtreefrog

    Getting Title

    You can use the frames collection: if your iframe's name was "theFrame", you could use this: alert(frames['theFrame'].document.title); Here's a test I did. Call this first one "test.html": <html> <head> <title>This is the main page title</title> </head> <body> <p>Iframe below:</p>...
  14. jtreefrog

    Conditional selection of a hide/show div

    Well...there are many things wrong with this so I'm not sure where the right place is to begin. 1. Put all of you javascript "functions" in the head of the document or in an external js file...what you have here is creating problems. 2. You should check your code using a mozilla flavor of...
  15. jtreefrog

    Browser scrollbar colour?

    scrollbar styles are not part of the standard CSS specification and are only supported by IE5.5+ ________________________________________ Give a man a match, he'll be warm for a minute. But light him on fire, and he'll be warm for the rest of his life.
  16. jtreefrog

    for loop question for a newbie

    Ooops... in the asp code, I forgot to put <%= Next %> to continue the For Loop... sorry ________________________________________ Give a man a match, he'll be warm for a minute. But light him on fire, and he'll be warm for the rest of his life.
  17. jtreefrog

    for loop question for a newbie

    I'm going to have to agree with clflava on this one... It's a bad idea to have code write more code. Consider sending values to the JavaScript function rather than creating more functions on the fly: //javascript code: function calculate(cost,qty,target) { target.value = cost * qty; }...
  18. jtreefrog

    Networking guy needs HELP.How to call an executable with a delay in JS

    Use the settimeout function: function confirmBox() { confirm("Click OK!"); } setTimeout('confirmBox()', 3000) That waits for 3 seconds to perform the "confirmBox" function ________________________________________ Give a man a match, he'll be warm for a minute. But light him on fire...
  19. jtreefrog

    Word - Checking if in a nested table and then getting out

    Thanks, folks! That did the trick. Any recommendations for better reference material than VB Help? Microsoft.com has the same material and if a person doesn't know to they should use "collapse" or "nestingLevel", they'd never figure it out (because the existing documentation makes an...
  20. jtreefrog

    Word - Checking if in a nested table and then getting out

    I'll give it a shot and get back to you. Thanks! Give a man a match, he'll be warm for a minute. But light him on fire, and he'll be warm for the rest of his life.

Part and Inventory Search

Back
Top