Export Excel has a field with the exp notation

I have a paintings that when it download to excel changes the exp notation, for example 1560010939089
1.56001E + 12

It is supposed to be a number of 1560010939089, how can I stop downloading from convert?
Thanks for your help!
Doug

Hi Doug,.

You can write your own procedure to export to excel. As follows, you can do so and also to solve the problem you are experiencing.

1. create a report on the emp table, showing sal, ename and empno column.

2. create a blank page.

3. create a process before heading in this white page with the following code:

declare
I have NUMBER: = 0;
Start
-Set the MIME type
owa_util.mime_header ("application/octet", FALSE);
-Place the name of the file
HTP.p ('Content-Disposition: attachment; filename = "emp.csv" ');
-Close the HTTP header
owa_util.http_header_close;
-To loop through all the rows in the EMP
for x in (select ename, empno, sal
WCP
where deptno =: P73_DEPTNO)
loop
i: = i + 1;
-Print a portion of a line,
-separated by commas and ended with a CR
If I = 1 then
HTP. PRN ('Name' |) ',' || 'Empno ' | «, » || "Salary". Chr (13));
end if;
HTP. PRN (x.ename |) ',' || x.EmpNo | ',' ||
'='||'"'|| x.Sal |' » ' || Chr (13));
end loop;
-Send an error code so that the
-rest of the HTML does not
htmldb_application.g_unrecoverable_error: = true;
end;

4. create a button in the report to branch to the empty page created above.

And that's all.
Note that I used '=' and 'in the procedure above to treat the number of shaped question.

It will be useful.

Thank you
Zahid

Tags: Database

Similar Questions

  • How to export data to excel that has 2 tables with the same number of columns and the column names?

    Hi everyone, yet once landed upward with a problem.

    After trying many things to myself, finally decided to post here...

    I created a form in form builder 6i in which clicking on a button, the data gets exported to the excel sheet.

    It works very well with a single table. The problem now is that I cannot do the same with 2 tables.

    Because the tables have the same number of columns and the columns names.

    Here are the 2 tables with column names:

    Table-1 (MONTHLY_PART_1) Table-2 (MONTHLY_PART_2)
    SL_NOSL_NO
    MODELMODEL
    END_DATEEND_DATE
    U-1U-1
    U-2U-2
    U-4U-4
    ..................
    ..................
    U-20U-20
    U-25U-25

    Given that the tables have the same column names, I get the following error :

    402 error at line 103, column 4

    required aliases in the SELECT list of the slider to avoid duplicate column names.

    So how to export data to excel that has 2 tables with the same number of columns and the column names?

    Should I paste the code? Should I publish this query in 'SQL and PL/SQL ' Forum?

    Help me with this please.

    Thank you.

    Wait a second... is this a kind of House of partitioning? Shouldn't it is a union of two tables instead a join?

    see you soon

  • Fill a field with the results of the other (sort and add custom text)

    I have a PDF form with many fields popup asking 'Yes', 'Maybe' or 'no '. I need a way to collect the answers and sorting, all the 'yes' first of all, that all the 'maybe', all the 'no '. When I need after that sort of response of three, is put in a 'Results' field with the container of the ToolTips for each popup and the ability to add a "BOLD" text, between three sorted responses.

    I have found some javascript in the forum here to collect data from field only. It seems to be easy to modify if you have several fields to collect/sorting/extract.

    Assistance or management to do will be appreciated.

    Thank you!

    Assuming that you have 50 menus named A1, A2... A50 and each drop-down list has three elements (Yes, maybe, no), you could do something like:

    Initialize object to contain the info of the answer

    var oResponse = {}

    'Yes': [],.

    "Maybe": [],.

    ['No':]

    };

    var i, f;

    Browse fields (A1, A2... A50)

    for (i = 1; i<= 50;="" i="" +="1)">

    Get a reference to the current field

    f = getField ("A" + i);

    Add ToolTip text of the current field to the corresponding table in the response object

    oResponse [f.valueAsString] .push (f.userName);

    }

    Generate the output string

    aOutput var = [];

    If (oResponse ['yes'] .length > 0) aOutput.push ("It's the priority YES\r" + oResponse ["Yes"] .join ("\r"));

    If (oResponse ["Maybe"] .length > 0) aOutput.push ("It's the priority MAYBE\r" + oResponse ["Maybe"] .join ("\r"));

    If (oResponse ['No'] .length > 0) aOutput.push ("It's the priority NO\r" + oResponse ["No"] .join ("\r"));

    Enter the results

    getField("Results").value = aOutput.join("\r\r");

  • Hello! Someone has some problem with the haptic on Macbook 12 "2016 function? It does not work on my Mackbook.

    I'm trying to figure if someone has my problem with the haptic on Macbook 12 "2016 function. The option is checked in the preferences system, but it does not work.

    Thank you

    Hello luigi10m,

    Thanks for posting on the Community Support from Apple. From your post, it looks like your haptic feedback does not work when you click using your trackpad and the setting is enabled. I know that this is a great feature and it is important to make it work. I'll be happy to help you.

    First of all, I would like to assure you that in system preferences > Trackpad > clicking silencer is not checked, that might help. In addition, it would be useful to reset the settings of the SCM. You can find instructions here: reset the management system (SCM) controller on your Mac - Apple Support

    I'll also include those for you here:

    1. Stop the Mac.
    2. Plug the MagSafe or USB - C adapter to a power source and to your Mac.
    3. Use the built-in keyboard, press shift-control-Option on the left side of the keyboard, then press the power button at the same time.
    4. All the keys to unlock, then press the power button to turn on your Mac

    Take care!

  • My air macbood has been infected with the criterror virus. How to disinfect?

    My MacBook Air running Yosemite has been infected with the criterror virus. Does anyone know how to disinfect? I am currently using Windows Parallels Online.

    The WHO says?

  • Error: A connection has been established with the server, but then an error occurred during the connection process.

    Hello

    I have MsSql running in the cluster environment and recently face the problem when there is a security agent installed in MsSql server, which the agent does nothing but only to capture the local database activity. The error led is as below:

    ID from step 1

    Server NIBKSQLCLUST

    Job name LSBackup_DRIB

    Newspaper log shipping backup job step name.

    Time 00:00:02

    SQL severity 0

    SQL Message ID 0

    Operator by e-mail

    Operator Net sent

    Operator paged

    Retries attempted 0

    Message

    2011-03-21 08:00:02.62 * error: could not retrieve parameters of backup for primary ID '26f46141-a676-41b2-8653-11f1b13de43a '. (Microsoft.SqlServer.Management.LogShipping) *.

    2011-03-21 08:00:02.63 * error: could not connect to the server NIBKSQLCLUST. (Microsoft.SqlServer.ConnectionInfo) *.

    2011-03-21 08:00:02.63 * error: a connection has been established with the server, but then an error occurred during the connection process. (provider: Named Pipes Provider, error: 0 - no process is on the other end of the pipe.) (.Net SqlClient data provider) *.

    2011-03-21 08:00:02.63 - END OF THE TRANSACTION LOG BACKUP-

    The process to run correctly when I turned off the security officer. Advice kindly the cause of this problem and is where all configurations should be set / changed in MsSql server.

    Thank you

    Boonlep coulibaly

    Hello

    I suggest you to send your request from the link and check.

    http://msdn.Microsoft.com/en-us/hh361695.aspx

    http://msdn.Microsoft.com/en-us/library/bb545450.aspx

  • How can I play multiple instances of video to classic media player in Windows xp help, that I could do so some time! It has to do with the codec? If yes what codec plays multiple instances?

    How can I play multiple instances of video (no problem reading of 12 movies at the same time, at the opening of the 13th film the problem only starts), the classic use of media player in windows XP? I was able to do all the time! It has to do with the codec?
    If yes what codec plays multiple instances of Media Player Classic in windows XP?
    I get the same problem with VLC all that needs to be checked on preferences is checked in the two VLC & MPC!

    Hello

    Multiple instances of Media Player is not supported in version 7 and greater.

    · What version of Windows Media Player you have installed?

    · Are instances that you are referring to the bodies shipped?

    · You use any third-party software to run multiple instances?

  • The place most frequent that I need to connect to a BT hotspot has a problem with the nearest hotspot. Although many sites come they are security protected.

    Access to the BT hotspots.

    The place most frequent that I need to connect to a BT hotspot has a problem with the nearest hotspot. Although many sites come they are protected from security and only the nearest BT hotspot is displayed. There are many others, but they are invisible. I think that there is a software that allows you to see several hot spots the. BT are unable to give me the details.

    This is probably a function of the driver for your wireless card.  I would check with the manufacturer of the computer or adapter.

    Good luck.

  • None of my apps work after that my laptop has been infected with the virus Vista Internet Security 2010,

    Hi all
    I need help to get my computer back to normal.

    My laptop has been infected with the virus Vista Internet Security 2010, but I removed it, NOW none of my apps (Yahoo Messenger, trash, other folders, SYSTEM, all file icons restore,) work, I managed to get rid of the virus visa, but still none of the programs work. When I try to open any program, it displays an error message "this file has no program associated with it for performing this action. Create an association in the set associations Control Panel. " I did all the steps, but still nothing works now all my files are open with the same file. I try to download a program to fix this problem, but I'm not able to run cause keep giving me the same error and cannot download anything. Is it possible to recover my computer as usual. Any help much appreciated.
    Help, please.
    Oh also all the icons on my destop are replaced by the same feacture of icon, but the name of the icons are staying same.if it shows adobe icon and all icons are adobe, when I open it with ie, then everything will change IE also. even if the opening programme has also changed to the same icon as dekstop one. now all my things are open with yahoo messenger:(c'est fou:()

    Try restarting your PC and press the F8 key repeatedly and then start in safe mode with networking and download and comprehensive performance analysis with:

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    If this does not work, try to run Windows Defender version offline beta:

    http://Windows.Microsoft.com/en-us/Windows/what-is-Windows-Defender-offline

    You can take a look at:

    http://cyberdefend.WordPress.com/2012/01/07/boot-Windows-for-scan/

    If the problem has not resolved, then contact Support for Microsoft Security:

    https://consumersecuritysupport.Microsoft.com/default.aspx?ProductKey=pcsafetymalware&task=Diagnostics&mkt=en-us&St=1&wfxredirect=1

  • Software that has a compatibility with the windows operating system 8, applies to windows 8.1system automatically?

    I just want to know when you buy a software that has a compatibility with the operating system windows 8, applies to windows 8.1system automatically?

    Former title: compatibility

    Yes, he does.  Windows 8.1 is compatible with Windows 8.0.  In fact, it can run almost all programs built for 7, Vista and XP as well.

  • I'm looking to have an input field with the search button, search button click the search button below the search results to display. How can I do?

    I'm looking to have an input field with the search button, search button click the search button below the search results to display. How can I do?

    Hello

    998765 wrote:

    You are right

    Please pass by the database 2 day + Application Express Developer's Guide

    Check this code example

    1 create a text field element I say P1_INPUT_FIELD

    2. create a button

    Name of the button: search

    Action: Send the page

    3. change your report query and where clause to your query below

    It will search on ename and empno, in this way, you can add more columns

    SELECT EMPNO
               , ENAME
               , SAL
               , MGR
               , COMM
      FROM EMP
    WHERE TRIM(UPPER(ENAME)) like '%' || TRIM(UPPER(:P1_INPUT_FIELD)) || '%'
           OR TRIM(UPPER(EMPNO)) like '%' || TRIM(UPPER(:P1_INPUT_FIELD)) || '%'
    

    4. we find the source of the region-> page article to submit-> P1_INPUT_FIELD

    Hope this helps you,

    Kind regards

    Jitendra

  • I have the first Pro 2015 but when I try to open a project that has been registered with the Premier Pro 2015 on another machine I get an error message that says that the project has been saved with the latest version.  Help!

    I have the first Pro 2015 but when I try to open a project that has been registered with the Premier Pro 2015 on another machine I get an error message that says that the project has been saved with the latest version.  Help!

    It seems that your version is not the latest.

    Check help / about... what version it reads.

    It should be 2015. (9.2.0 build 41)

    Otherwise, please update your version via app updates... or cloud in respect of aid.

  • Anyone who has a problem with the system crashes when importing using the new interface to import

    Anyone who has a problem with the system crashes when importing using the new interface to import

    Can specify you what Adobe program you use so that we do that your post is in the right forum?

  • I get a Script Error failed. I think it is because the domain name is on page 1 and the field with the calculation is on page 2.

    I get a Script Error failed. I think it is because the domain name is on page 1 and the field with the calculation is on page 2.

    The formula is just + Cash.  I don't know how to tell him to look on Page 1.  If I use the same domain on Page 1, the formula works so I know that this is not something in the name of the field.

    It received NO response

    Page1.cash should do it. If not, you can use CTRL + click to enter its name in your script.

    1. Select the field that you add the script.
    2. Scroll the design view until you can see the object whose name you need. (Is not necessary if the object is already in mode)
    3. Click inside the script window to place the cursor where you want the name of the other object.
    4. Hold down the CTRL key while clicking the object whose name you need.
  • problem with validation in the field with the radio button type in create profile jsp page

    Hello

    Kindly help me with the validation of a field with the type option button in the createProfile jsp page. Its actually not to validate the sex with radio button field.

    The code is as follows...

    < % @ page language = "java" contentType = text/html"; charset = ISO-8859-1"

    pageEncoding = "ISO-8859-1" % >

    <! – this taglib used to access dsp tags - >

    < %@taglib uri = "" / dspTaglib "prefix ="dsp"% >"

    < dsp:page >

    < dsp:importbean bean = "/ atg/userprofiling/ProfileFormHandler" / >

    < dsp:importbean bean = "/ atg/dynamo/drop/ErrorMessageForEach" / >

      <! DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional / / IN" "http://www.w3.org/TR/html4/loose.dtd" > ""

    < html >

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"

    < title > < /title > user registration Page

    < / head >

    < body >

    < dsp:form id = "registerForm" method = "post" action = "registration.jsp" >

    < div >

    < div > if please fill in all fields below and click Save

    button. < / div >

    < br / >

    < table >

    < tbody >

    < b >

    < td width = "150" > name < table >

    < td > < dsp:input bean = "ProfileFormHandler.value.firstName"

    MaxLength = "30" size = "25" type = "text" required = "true" / > < table >

    < /tr >

    < b >

    Last name < td > < table >

    < td > < dsp:input bean = "ProfileFormHandler.value.lastName"

    MaxLength = "30" size = "25" type = "text" required = "true" / > < table >

    < /tr >

    < b >

    < td > username < table >

    < td > < dsp:input bean = "ProfileFormHandler.value.login"

    MaxLength = "30" size = "25" type = "text" required = "true" / > < table >

    < /tr >

    < b >

    password < td > < table >

    < td > < dsp:input bean = "ProfileFormHandler.value.password"

    MaxLength = "30" size = "25" type = "password" required = "true" / > < table >

    < /tr >

    < b >

    < td > confirm password < table >

    < td > < dsp:input bean = "ProfileFormHandler.value.password"

    MaxLength = "30" size = "25" type = "password" required = "true" / > < table >

    < /tr >

    < b >

    Identification of Email < td > < table >

    < td > < dsp:input bean = "ProfileFormHandler.value.email"

    MaxLength = "30" size = "25" type = "text" required = "true" / > < table >

    < /tr >

    < b >

    Sex < td > < table >

    < td > < dsp:input bean = "ProfileFormHandler.value.gender"

    Type = "radio" required = "true" > male < / dsp:input > < dsp:input

    Bean = "ProfileFormHandler.Value.Gender" type = "radio" "

    required = "true" > female < / dsp:input > < table >

    < /tr >

    < b >

    < td colspan = "2" > < dsp:input bean = "ProfileFormHandler.create"

    Type = "submit" value = "Save" / > < dsp:input

    Bean = "ProfileFormHandler.createSuccessURL" type = "hidden"

    value = "index.jsp" / > < table > "

    < /tr >

    < b >

    < td colspan = "2" >

    < ul >

    < dsp:droplet name = "ErrorMessageForEach" >

    < dsp:param bean = "ProfileFormHandler.formExceptions"

    name = 'exceptions' / >

    < name dsp:oparam = "output" >

    < li > < dsp:valueof param = "message" / > < /li >

    < / dsp:oparam >

    < / dsp:droplet >

    < /ul >

    < table >

    < /tr >

    < / tbody >

    < /table >

    < / div >

    < / dsp:form >

    < / dsp:page >

    < / body >

    < / html >

    Use code next, may be you do not value attribute set and causing a problem (data inconsistency problem) or case mismatch while storing data in the repository.

    <%Boolean checked = true;%>

    Sex:

    Male

    Female

    I do not know what will radio back button if the value is specified: a boolean value or the value aim to display (in your male cases),.

    If the problem is fixed, undo the change and please let me know what value he sent in your case.

    Please

    Thank you

    Nitin.

Maybe you are looking for

  • Where to get the Regen backup software

    I lost the software disk that came with my external drive 3.5 inches; can I download from anywhere.

  • upgrade to support/drivers of material for Pavilion dv8000t with Win 7

    Just upgraded my 2005 HP Pavilion dv8000t for Win 7 32 bit home premium.  Only XP was initially available, and now HP support will not recognize anything whatsoever to allow driver downloads.  Anyone else run into this?  Ideas, suggestions? Thank you

  • 655 HP: I can not install wifi driver hp 655

    Hello everyone. I hope someone will help me with this problem I have a laptop hp 655, and I can not install its driver wifi... I downloaded it (I tried more than drivers), and start the installation, but after only a few seconds this window with inst

  • Image Windows 7 Enterprise backup error 0 x 80780119

    I am running Windows 7 Enterprise x 64 and try to run a backup to help to create a system image utility.  I have one physical drive partitioned into a 50 GB system partition and a 100 GB data partition.  There is also the system reserved 100 MB parti

  • Key look at bottom...

    Hi, guys! How the background application is listening must? Kind regards Ricos.