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...
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...
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...
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...
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...
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*...
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.
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...
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...
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...
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"...
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...
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>...
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...
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.