See this posting at Ask Tom: http://asktom.oracle.com/pls/ask/f?p=4950:8:568686::NO::F4950_P8_DISPLAYID,F4950_P8_B:95412348059,Y
Happy programming
Thessa
Thanks for the reply sem. I am not really understanding your suggestions. Am I mistaken or do they both come down to housing the alias in a variable in the end? For example, if I select the field that holds the alias name in the cursor example you have provided, don't I then have to pass it...
Here's the question: How can I create a dynamic column alias using a user defined variable? For example I am creating reports where the column names of the report must be in the user's selected language. So before I fill my out cursor with a select statement, I gather the appropriate...
Ok, folks, I realize this MUST be an easy one, but I'm not figuring it out! I need to show a number field in millions only. For example, if the normal, non-formatted results are
8,908,999
39,999,897
438,000
7,890
I want to see
8
39
.43
.0079
Anyone know the format mask for that?
Thanks!
Thessa
alright, I have your code in jaredn, and it's working EXCEPT that rg.text is empty and when I replace it with 'HI' for testing it places the link in the body instead of the textarea (but it's a link!). My DHTML is nil, but I tried many things including replacing
sel = document.selection;
with...
:-0 Good grief you guys rock! I am about to head out the door (it's almost 6pm in italy!) but tomorrow I will jump on these first thing. I'm using IE 5.5 and I love dirty code! ha - I'm impressed thanks
Hey everyone, thanks for the responses. Yes, this is a web based html editor, and the requirements are that the user is not supposed to see the html, so I cannot put the href code in the editor box (which is really a big text area).
Jaredn, for example, if you highlight the words TO MYFILE...
We are creating an editor. One of the features allows the user to highlight text in a text area, click on a button and find a file to link to in a pop up window. No problem. After clicking on the file they choose, the pop up closes and the text that they highlighted in the text area should...
Yes. onSubmit you can call a function that checks the value of your text box. if the value is nothing, you can assign the value of something, then proceed in sending the form info. here's half pseudo, half real code (in other words i've been working in other languages recently and not JS...
Yes, the package UTL_FILE. Here's the long description - http://oradoc.photo.net/ora81/DOC/server.815/a68001/utl_file.htm#998101 I don't think you need an account to view it, but if you do it's free.
Happy reading... thessa
Yeah, I'd like to know how to do that too if it's possible. The trouble is that since the html is already loaded into the browser, you would have to reload the page before you could display more html. You could do that of course, passing all current values that the person has already entered...
Yes, even better plan, the regular expression! I have implemented it and it's short, sweet and running fine. I'll be looking for those references DeltaFlyer suggested, as I have read a bit on regular expressions but still don't have a good grasp on them...
I guess window.onUnLoad might help you.
Ex: <body onUnLoad="EndSessionFunction()">
You can put your DB update and other end session functions in the EndSessionFunction code. The code will execute if they leave that page, and I'm almost positive if they close the browser window too...
Thanks so much for the quick reply! I used your advice and it works perfectly! I changed the function around to fit my scenario like this:
function sendPath(pathName){
var newpath = pathName.replace("*","\\");
for (i=0;i<pathName.length;i++)
{newpath =...
Hi Anto2,
Yes you can disable the button. I can't tell in what context you need it in, and I can't find the exact syntax, but maybe this will point you in a good direction! You can use document.forms[0].elements[0].disabled = true. Where forms[0] is the first form on the page and elements[0]...
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.