I have a VB application that uses ActiveX Controls. Today the buttons on one of my workstations within the application would not work. However, the same fuctions provided by the buttons are available from the pull-down menu within the same application. The fuctions all worked from the menu, but...
Thanks for all your assistance. I have found the solution:
The "confirm" method does not work with pdf forms. When using pdf forms, you must use either the App.response or App.alert methods.
Example:
var result = app.alert({
cMsg: "Have you sent in your payments? This must be done before...
I am using IE 7
The code is inside a pdf snippet. However, I placed the code in a new html doc and tried that new doc. But, the new doc does not work either and it is in an html doc with no other code. I suspect that confirm does not work in all environments... I will now try the error console...
My apologies! The code does nothing when it gets to the confirm. The first alert stmt comes up and after that all goes dead. No errors or anything.
This stmt works well:
app.alert("Lets get started");
But, after that - Nothing, not even an error...
I cannot get the confirm to work. does anyone know why my confirm stmt will not work? Her is my code:
app.alert("Lets get started");
var answer = confirm ("Are you having fun?");
if (answer)
app.alert ("Woo Hoo! So am I.")
else
app.alert ("Darn. Well, keep trying then.");
if ( confirm("You...
How can i launch the windows SaveAs dialog box using javascript so that the document in my window can be saved? The document i am speaking of is a fill-out pdf form.
That worked! Thanks! Here is what I had to do to change the field from a PACKED 31 into a decimal 10.2 defined field:
CAST( sum(field name) AS decimal(10,2))
I am creating a file from SQL code,and I am creating a new field in the file using the sum parameter. But the sum field size after I run the code is much larger than I need or want. How can I set its field size?
The resulting field is too large, about size of packed 30. I need only PACKED 10. I...
Hi, I am new to Crystal Reports and I have just completed a report, but it has 3 text fields that contain numeric decimal data. The fields all print fine, but we want them to have 3 decimal places. As of now they look like this:
13
7.12345
18.2
ect
Can anyone give me a hint as to what I could...
That did not answer the question. Perhaps I am not phrasing the question correctly. Something like document.location=myURL should work, but I'm not sure of the correct syntax.
Hi, I have a web page that will need to also use the content from a web page on another server. How can I use javascript to pull the content of that url into my page?
i am trying to count the number of times a certain link is clicked on this page. Since javascript cannot do database updates, i need a way to call another program that adds 1 to a numeric item in a database. How might this be done?
I want to create a link on a web page such that when clicked, it will invoke a java program and also go to the desired web page. How do I refine my code?
<A HREF="http://www.mypage.htm"
onClick=JavaProgram to exec;>To My Page</A
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.