Prevent losing data when closing browser

Is there any possibility to catch an event when user tries to close the browser window?
I would like warn the user to save data before closing the form window.

Hi, Dan!
I tried to use your example in my code, but my page loads with error. I copied the jquery script to my /i location on server and included the script tag into the page template between the head tags. On the page I also copied the script from your example into page html header.
When displaying the page, i get a "Done, but with errors on page" message, with following details:
Line 21, char 4, Error: object expected, Code 0
I tried the latest jquery scpript available (jquery-1.3.1.min.js) and also the one from your example (jquery-1.3.1.min.js)
Can you give any tip, please.

Similar Messages

  • Popup to confirm when closing browser window?

    Hi
    I want to display popup confirm window when closing browser window, "changes will be lost" yes or no. for this i searched forums got some idea, about "WORK PROTECT MODE". this will work only when our application running from portal. my doubt is where should i write code for this??? any help
    Thanks,
    kris.

    Hi Thomas,
    We are on ECC6.0 enph5.
    In system configuration in epc.loader(service) the value for work protect mode is set as 1 - Protect unsaved data (open page in a new window) 
    1)Is it possible to override this value within WD ABAP application? for example show popup window when there is unsaved data
    2)In this scenario what is the significance of L_PORTAL_MANAGER->SET_WORK_PROTECT_MODE
    and   L_PORTAL_MANAGER->SET_APPLICATION_DIRTY_FLAG
    3)Where exactly  L_PORTAL_MANAGER->SET_APPLICATION_DIRTY_FLAG has to coded. It does trigger modify method of the view.
    Thanks,
    chamu

  • Invalidate session when closing browser

    Hi All,
    Please anybody help me regarding session invalidate in servlet(web application) when closing browser.
    how can do this.
    Thanks,

    It can't be done in pure servlet because browser closing event is not caught be servlet. Google for JavaScript's onBeforeUnload event and invoke Ajax call to invalidate the session - this is the only way to handle this.

  • I want to Firefox resume previous session when it crashes, but I can't make it to do it when I set it to forget my personal data when closing.

    Until the most recent versions of Firefox (let's say FF 10 or 11), when the software crashed I had the option to resume the last session when reopening it. I could do this even when I made it clear all my personal data when closing it in normal ways (i.e., when I quit the program without crashing, Firefox would not keep any personal information).
    Now, however, Firefox will only restore the previous session after crashing if I don't make it clear personal data after normal quitting.
    How can I fix this? I want it to restore previous session only after crashing, not after a normal exit.

    Use these steps to remove saved (form) data from a drop down list:
    #Click the (empty) input field on the web page to open the drop down list
    #Highlight an entry in the drop down list
    #Press the Delete key (on Mac: Shift+Delete) to remove it.
    *http://kb.mozillazine.org/Deleting_autocomplete_entries
    See also:
    *https://support.mozilla.org/kb/Clear+Recent+History
    Did you disable to remember form data if you do not want Firefox to remember it?<br />
    Be aware that you still have to remove already saved form data in that case via Clear Recent History.
    *Tools > Options > Privacy > History: "Remember search and form history"
    *https://support.mozilla.org/kb/Form+autocomplete

  • How to show a confirmation when closing browser window in jdeveloper11g

    Hi
    I'm Using Jdev 11g
    How to show a confirmation when closing browser window in jdeveloper11g
    Regards
    Abhilash

    Abhilash,
    My goodness...
    Didn't search the forum, eh? In fact, didn't even look at the last 5 or 6 posts - this was posted by another user within the past few hours.... Giving a message while closing a jspx page.
    John

  • Trigger Javascript when closing browser window from CP8

    I worry this isn't possible but here goes....any help would be incredible.
    Recently I was given some great advice on how to trigger a Javascript action in the frame on our LMS which the Captivate file plays in.
    It works perfectly and on the final page triggers the Javascript which send usage back to the LMS and forward the user to a page which allows them to rate the course.
    The code was as follows:
    top.code.closeSCOContent();
    closeSCOContent() is something written into our LMS.
    However the obvious issue occurs when a user just closes the browser window and for some reason our LMS doesn't record any bookmarking or any data.
    The only way it seems to do this is if that function is called.
    So using the window.onunload() or the DOFinish; function is there a way I can edit any file in the Captivate output to trigger this function when closing the browser?
    Long shot I know but currently the best I have managed is getting the course to trigger this as soon as it loads rather than closing the window?
    Massive thanks in advance for any advice.

    Any solution to ensure the data is written back to the LMS would solve the issue.
    Currently when the close button is pressed nothing happens at all and it's a big problem.
    Triggering this .closeSCOContent() function would be the ideal, but if it's not possible anything to write back would be best.
    When you say <body onbeforeunload="top.code.closeSCOContent();">
    Do you mean putting this in the HTML file of the output which currently is:
    <body bgcolor="#f2f2f2">
    and change this to:
    <body onbeforeunload="top.code.closeSCOContent();" body bgcolor="#f2f2f2">

  • Forms behavior when closing browser or forms, javascript

    Hi
    I want to be able to run Jinitiator in separate frame, but with the possibilities to close the browser when closing the forms and in on the same html page I would like to have the possibilities to fire a message if the end user try to close the web browser directly (not by closing the forms).
    I find in the forum solutions for the two constraints but if I try to put this two behavior together: message fire even when I close the forms because the post-form trigger try to close the browser. I try to put condition on the alert with a variable but do not succeed. how could I manage to setup the two behaviour together?
    Is it possible to put condition in javascript to see if the end-user close the browser via forms or via the browser?
    thanks

    I've installed the FormsStart utility...and it looks great.
    However, if I have separateFrame=true, when my forms application starts, it opens 2 applet windows.
    If I have separateFrame=false, everything looks ok except that when I alt-tab to a different application and return - my focus is not returned to the field that the cursor was in.
    Is this something inherent with having separateFrame=false? Is there a way around it?
    Cheers,
    Dave

  • How to avoid losing data when communicat​e with high speed motor?

    I connect with high speed servo motor via RS232. To avoid losing data. i thought to set receive buffer, only read the buffer if it collected all bytes. Is this possible?

    Hi,
    If you know the number of bytes you are trying to read, you can set a viRead call to return information once the particular number of bytes have been read.  For more information on this, take a look at the KnowledgeBase article on a Serial VISA Read to read a requested number of bytes. 
    Even if you read before all bytes have been collected, you should not lose data.  When the specified number of bytes are stored in the buffer, the viRead call will send the information to the program, and new data coming in will be stored in the buffer until the byte count is reached again.
    I hope this helps,
    Lauren L.
    Applications Engineering
    National Instruments

  • Prevent Column Shrinking when Resizing Browser

    Hi,
    I'm designing a site with tables and I want to prevent the columns within the tables from shrinking when the browser is resized.
    Please reference the below code of two tables.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    <table width="520" cellspacing="0" cellpadding="0">
      <tr>
        <td width="10" align="left" valign="top" bgcolor="#FFFFFF"> </td>
        <td align="left" valign="top" bgcolor="#CCCCCC">this column does not resize but the table is aligned left.</td>
        <td width="10" align="left" valign="top" bgcolor="#FFFFFF"> </td>
      </tr>
    </table>
    <P align=left>
    <table width="100%" height="10" cellspacing="0" cellpadding="0" margin-top:="margin-top:" "0px" bgcolor="#FFFFFF">
      <tr>
        <td> </td>
        <td width="10" align="left" valign="top"> </td>
        <td width="500" align="left" valign="top" bgcolor="#CCCCCC">This column I want to prevent from shrinking in a browser</td>
        <td width="10" align="left" valign="top"> </td>
        <td> </td>
      </tr>
    </table>
    </body>
    </html>

    Liquid Layouts = % based.  Resizes to browser viewport.
    Example: http://alt-web.com/TEMPLATES/3-col-liq-layout.shtml
    Semi-Liquid Layouts = % based plus min- and max-width restrictions.
    Example:  http://alt-web.com/TEMPLATES/3-col-semi-liq-layout.shtml
    Fixed width Layouts = pixel based.
    Example:  http://alt-web.com/TEMPLATES/3-col-white-gray.shtml
    Elastic Layouts = em based. Re-sizes entire layout based on inc/dec text size.
    Example:  http://alt-web.com/TEST/Resizable-ems-test.html
    CSS:
    body {
    width: 1000px; /**width in %, px or em*/
    margin:0 auto; /** with width, this centers page on screen**/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • [SOLVED] how to prevent suspending/sleeping when closing laptop lid

    Hi all,
    My laptop, a Lenovo Thinkpad T430u, suspends whenever I close the lid. It's been doing this since I first installed Arch.  I want to turn this feature off.  How can I do it?
    Relevant information:
    acpid is installed
    the configuration file /etc/acpi/handler.sh
    #!/bin/bash
    # Default acpi script that takes an entry for all actions
    case "$1" in
    button/power)
    case "$2" in
    PBTN|PWRF)
    logger 'PowerButton pressed'
    logger "ACPI action undefined: $2"
    esac
    button/sleep)
    case "$2" in
    SLPB|SBTN)
    logger 'SleepButton pressed'
    logger "ACPI action undefined: $2"
    esac
    ac_adapter)
    case "$2" in
    AC|ACAD|ADP0)
    case "$4" in
    00000000)
    logger 'AC unpluged'
    00000001)
    logger 'AC pluged'
    esac
    logger "ACPI action undefined: $2"
    esac
    battery)
    case "$2" in
    BAT0)
    case "$4" in
    00000000)
    logger 'Battery online'
    00000001)
    logger 'Battery offline'
    esac
    CPU0)
    *) logger "ACPI action undefined: $2" ;;
    esac
    button/lid)
    case "$3" in
    close)
    logger 'LID closed'
    open)
    logger 'LID opened'
    logger "ACPI action undefined: $3"
    esac
    case $(cat /proc/acpi/button/lid/LID0/state | awk '{print $2}') in
    closed) XAUTHORITY=$(ps -C xinit -f --no-header | sed -n 's/.*-auth //; s/ -[^ ].*//; p') xset -display :0 dpms force off ;;
    open) XAUTHORITY=$(ps -C xinit -f --no-header | sed -n 's/.*-auth //; s/ -[^ ].*//; p') xset -display :0 dpms force on ;;
    esac
    logger "ACPI group/action undefined: $1 / $2"
    esac
    # vim:set ts=4 sw=4 ft=sh et:
    dmesg output:
    [ 1530.790532] PM: Syncing filesystems ... done.
    [ 1530.805678] PM: Preparing system for mem sleep
    [ 1530.844445] Freezing user space processes ... (elapsed 0.01 seconds) done.
    [ 1530.856658] Freezing remaining freezable tasks ... (elapsed 0.10 seconds) done.
    [ 1530.963435] PM: Entering mem sleep
    [ 1530.963572] Suspending console(s) (use no_console_suspend to debug)
    [ 1531.123543] iwlwifi 0000:03:00.0: iwl_pcie_cmdq_reclaim: Read index for DMA queue txq id (9), index 207 is out of range [0-256] 208 208.
    [ 1531.124216] sd 0:0:0:0: [sda] Synchronizing SCSI cache
    [ 1531.124579] sd 0:0:0:0: [sda] Stopping disk
    [ 1531.360682] mei 0000:00:16.0: suspend
    [ 1531.440517] ahci 0000:00:1f.2: power state changed by ACPI to D3hot
    [ 1531.687309] PM: suspend of devices complete after 722.490 msecs
    [ 1531.687784] PM: late suspend of devices complete after 0.469 msecs
    [ 1531.688232] pcieport 0000:00:1c.3: System wakeup enabled by ACPI
    [ 1531.714222] ehci-pci 0000:00:1d.0: System wakeup enabled by ACPI
    [ 1531.727619] ehci-pci 0000:00:1a.0: System wakeup enabled by ACPI
    [ 1531.754015] xhci_hcd 0000:00:14.0: System wakeup enabled by ACPI
    [ 1531.767422] PM: noirq suspend of devices complete after 79.565 msecs
    [ 1531.768301] ACPI: Preparing to enter system sleep state S3
    [ 1531.797647] PM: Saving platform NVS memory
    [ 1531.799282] Disabling non-boot CPUs ...
    [ 1531.900721] smpboot: CPU 1 is now offline
    [ 1532.004162] smpboot: CPU 2 is now offline
    [ 1532.107554] smpboot: CPU 3 is now offline
    I have pmutils and tlpinstalled
    tlp config
    # tlp - Parameters for power save
    # Hint: some features are disabled by default, remove the leading # to enable them
    # Set to 0 to disable/1 to enable TLP
    TLP_ENABLE=1
    # Seconds laptop mode has to to wait after the disk goes idle before doing a sync.
    # Non-zero value enables, zero disables laptop mode.
    DISK_IDLE_SECS_ON_AC=0
    DISK_IDLE_SECS_ON_BAT=2
    # Dirty page values (timeouts in secs).
    MAX_LOST_WORK_SECS_ON_AC=15
    MAX_LOST_WORK_SECS_ON_BAT=60
    # Select a cpu frequency scaling governor: ondemand/powersave/performance/conservative
    # Important:
    # - You *must* disable your distribution's governor settings or conflicts will occur
    # - ondemand is sufficient for *almost all* workloads, you should know what you're doing!
    #CPU_SCALING_GOVERNOR_ON_AC=ondemand
    #CPU_SCALING_GOVERNOR_ON_BAT=ondemand
    # Set the min/max frequency available for the scaling governor.
    # Possible values strongly depend on your cpu. For available frequencies see
    # tlp-stat output, Section "+++ Processor".
    # Hint: Parameters are disabled by default, remove the leading # to enable them,
    # otherwise kernel default values are used.
    #CPU_SCALING_MIN_FREQ_ON_AC=0
    #CPU_SCALING_MAX_FREQ_ON_AC=0
    #CPU_SCALING_MIN_FREQ_ON_BAT=0
    #CPU_SCALING_MAX_FREQ_ON_BAT=0
    # Set the cpu "turbo boost" feature: 0=disable / 1=allow
    # Requires an Intel Core i processor and kernel 3.7 or later.
    # Important:
    # - This may conflict with your distribution's governor settings
    # - A value of 1 does *not* activate boosting, it just allows it
    #CPU_BOOST_ON_AC=1
    #CPU_BOOST_ON_BAT=0
    # Minimize number of used cpu cores/hyper-threads under light load conditions
    SCHED_POWERSAVE_ON_AC=0
    SCHED_POWERSAVE_ON_BAT=1
    # Kernel NMI Watchdog
    # 0=disable (default, saves power) / 1=enable (for kernel debugging only)
    NMI_WATCHDOG=0
    # Change CPU voltages aka "undervolting" - Kernel with PHC patch required
    # Freq:voltage pairs are written to /sys/devices/system/cpu/cpu0/cpufreq/phc_controls
    # CAUTION: only use this, if you thoroughly understand what you are doing!
    #PHC_CONTROLS="F:V F:V F:V F:V"
    # Hard disk devices, separate multiple devices with spaces (default: sda).
    # Devices can be specified by disk id too (lookup with: tlp diskid).
    DISK_DEVICES="sda sdb"
    # Hard disk advanced power management level: 1(max saving)..254(off)
    # Levels 1..127 may spin down the disk.
    # Separate values for multiple devices with spaces.
    DISK_APM_LEVEL_ON_AC="254 254"
    DISK_APM_LEVEL_ON_BAT="128 128"
    # Hard disk spin down timeout:
    # 0: spin down disabled
    # 1..240: timeouts from 5s to 20min (in units of 5s)
    # 241..251: timeouts from 30min to 5.5 hours (in units of 30min)
    # (see 'man hdparm' for details)
    #DISK_SPINDOWN_TIMEOUT_ON_AC="0 0"
    #DISK_SPINDOWN_TIMEOUT_ON_BAT="0 0"
    # Select io scheduler for the disk devices: noop/deadline/cfq (Default: cfq)
    # Separate values for multiple devices with spaces.
    #DISK_IOSCHED="cfq cfq"
    # SATA aggressive link power management (ALPM):
    # min_power/medium_power/max_performance
    SATA_LINKPWR_ON_AC=max_performance
    SATA_LINKPWR_ON_BAT=min_power
    # PCI Express Active State Power Management (PCIe ASPM):
    # default/performance/powersave
    # Hint: needs kernel boot option pcie_aspm=force on some machines
    PCIE_ASPM_ON_AC=performance
    PCIE_ASPM_ON_BAT=powersave
    # Radeon graphics clock speed (profile method): low/mid/high/auto/default
    # auto = mid on BAT, high on AC; default = use hardware defaults
    # (Kernel >= 2.6.35 only, not with fglrx driver!)
    RADEON_POWER_PROFILE_ON_AC=high
    RADEON_POWER_PROFILE_ON_BAT=low
    # WiFi power saving mode: 1=disable/5=enable
    # (Linux 2.6.32 and later, some adapters only!)
    WIFI_PWR_ON_AC=1
    WIFI_PWR_ON_BAT=5
    # Disable wake on lan: Y/N
    WOL_DISABLE=Y
    # Enable audio power saving for Intel HDA, AC97 devices (timeout in secs).
    # A value of 0 disables / >=1 enables power save.
    SOUND_POWER_SAVE=1
    # Disable controller too (HDA only): Y/N
    SOUND_POWER_SAVE_CONTROLLER=Y
    # Set to 1 to power off optical drive in UltraBay (ThinkPads only)
    # when running on battery. A value of 0 disables this Feature (Default).
    # Drive can be powered on again by releasing (and reinserting) the
    # eject lever or by pressing the disc eject button on newer models.
    # Note: an UltraBay hard disk is never powered off.
    BAY_POWEROFF_ON_BAT=0
    # Optical drive device to power off (default sr0)
    BAY_DEVICE="sr0"
    # Runtime Power Management for pci(e) bus devices
    # (Kernel >= 2.6.35 only): on=disable/auto=enable
    RUNTIME_PM_ON_AC=on
    RUNTIME_PM_ON_BAT=auto
    # Runtime PM for *all* pci(e) bus devices: 0=disable / 1=enable
    # Warning: experimental option, could cause system instabilities
    RUNTIME_PM_ALL=0
    # Set to 0 to disable/1 to enable usb autosuspend feature
    USB_AUTOSUSPEND=1
    # Devices from the following list are excluded from usb autosuspend
    # (separate with spaces). Use lsusb to get the id's.
    # Note: input devices (usbhid) are excluded automatically
    #USB_BLACKLIST="1111:2222 3333:4444"
    # Set to 1 to disable autosuspend before shutdown/0 to do nothing
    # (workaround for usb devices that cause shutdown problems)
    #USB_AUTOSUSPEND_DISABLE_ON_SHUTDOWN=1
    # Restore radio device state (bluetooth, wifi, wwan) from previous shutdown
    # on system startup: 0=disable/1=enable
    # Hint: the parameters DEVICES_TO_DISABLE/ENABLE_ON_STARTUP/SHUTDOWN below
    # are ignored when this is enabled!
    RESTORE_DEVICE_STATE_ON_STARTUP=0
    # Radio devices to disable on startup: bluetooth wifi wwan
    #DEVICES_TO_DISABLE_ON_STARTUP="bluetooth wifi wwan"
    # Radio devices to enable on startup: bluetooth wifi wwan
    #DEVICES_TO_ENABLE_ON_STARTUP="wifi"
    # Radio devices to disable on shutdown: bluetooth wifi wwan
    # (workaround for devices that are blocking shutdown)
    #DEVICES_TO_DISABLE_ON_SHUTDOWN="bluetooth wifi wwan"
    # Radio devices to enable on shutdown: bluetooth wifi wwan
    # (to prevent other operating systems from missing radios)
    #DEVICES_TO_ENABLE_ON_SHUTDOWN="wwan"
    # Radio devices to enable when wireless radio switch is turned on:
    # bluetooth wifi wwan (Ubuntu + ThinkPad only)
    #DEVICES_TO_ENABLE_ON_RADIOSW="wifi wwan"
    # Battery charge thresholds (ThinkPad only, tp-smapi or acpi-call kernel module required)
    # Charging starts when the remaining capacity falls below the START_CHARGE_TRESH
    # value and stops when exceeding the STOP_CHARGE_TRESH value.
    # Main battery (values in %)
    #START_CHARGE_THRESH_BAT0=75
    #STOP_CHARGE_THRESH_BAT0=80
    # Ultrabay or slice battery (values in %)
    #START_CHARGE_THRESH_BAT1=75
    #STOP_CHARGE_THRESH_BAT1=80
    # Set to 1 to disable use of tpacpi-bat on Sandy Bridge or newer Thinkpads
    # and force usage of tp-smapi instead
    #DISABLE_TPACPIBAT=1
    # tlp-rdw - Parameters for the radio device wizard
    # Possible devices: bluetooth/wifi/wwan
    # Hint: parameters are disabled by default, remove the leading # to enable them
    # Radio devices to disable on connect
    DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi wwan"
    DEVICES_TO_DISABLE_ON_WIFI_CONNECT="wwan"
    DEVICES_TO_DISABLE_ON_WWAN_CONNECT="wifi"
    # Radio devices to enable on disconnect
    DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi wwan"
    #DEVICES_TO_ENABLE_ON_WIFI_DISCONNECT=""
    #DEVICES_TO_ENABLE_ON_WWAN_DISCONNECT=""
    # Radio devices to enable/disable when docked
    #DEVICES_TO_ENABLE_ON_DOCK=""
    #DEVICES_TO_DISABLE_ON_DOCK=""
    # Radio devices to enable/disable when undocked
    #DEVICES_TO_ENABLE_ON_UNDOCK="wifi"
    #DEVICES_TO_DISABLE_ON_UNDOCK=""
    thanks guys
    I love arch
    Last edited by beitme (2013-06-08 10:05:37)

    @ Karol, done
    @ 65kid, here's my logind.conf
    [Login]
    #NAutoVTs=6
    #ReserveVT=6
    #KillUserProcesses=no
    #KillOnlyUsers=
    #KillExcludeUsers=root
    #Controllers=
    #ResetControllers=cpu
    #InhibitDelayMaxSec=5
    #HandlePowerKey=poweroff
    #HandleSuspendKey=suspend
    #HandleHibernateKey=hibernate
    #HandleLidSwitch=ignore
    #PowerKeyIgnoreInhibited=no
    #SuspendKeyIgnoreInhibited=no
    #HibernateKeyIgnoreInhibited=no
    #LidSwitchIgnoreInhibited=yes
    #IdleAction=ignore
    #IdleActionSec=30min

  • Prompting users for confimation when closing browser window

    Hi All,
    I would like to prompt the user with a popup-screen asking for confirmation that he wants to close the browser when hitting the browser-close ('X') button. Is this possible ?
    If the user chose to cancel the browser window shoud remain open, with all content as it was... and of course if he chooses to continue the window should just close.
    the WDA app is straight forward, and not running inside the portal.
    Thanx in advance
    -Tonni

    Hi Tonni,
    I thought I should add - the portal does implement a work protection mode that does allow you to prompt users if they navigate away from your page - and one of the best ways to implement that is through the FPM and its work protect mode interface.
    However, that still doesn't help, I'm afraid, in the case where you're trying to stop the user closing the browser window...
    I should also point out that some browsers do indeed produce an event which can be trapped on close of the window, and have been hugely exploited by website designers - to the extent that later/better versions no longer support it. Remember the web pages that when you closed spawned 3 more, and those 3 more etc. etc.
    Cheers,
    Chris
    edit:  also worth pointing out that the "Close" button provided within a portal session by the FPM is a form of navigation and can be trapped. Likewise any internal navigation button that perform the same sort of thing within your app.
    Edited by: Chris Paine on Mar 29, 2010 3:08 PM

  • Dock icon shows yesterday's date when closed

    Per the title, dock icon shows Dec 1 when iCal is closed. When I open it, it changes to today's date, but when I quit it reverts to 12/1.
    Trashed preference file, no change.
    Not the biggest deal--just takes me back to Tiger--however I do get concerned when something "new" starts happening for no apparent reason.

    dfreiwald,
    Have you removed the icon from the Dock and replaced it with the iCal icon located in your Applications folder?
    I would say this is more of a nuisance than something to worry about.
    ;~)

  • Losing data when importing excel into an array

    Hi,
    I have been writing some code that imports data from an excel .xlsx worksheet file containing 890 columns and 150 rows.
    When I set the VI to import 702 columns everything works fine.  When I try to import 703 columns I get no data in my array.  The VI continues to run without any errors just gives me no results as there is no data in the initial array.
    Can anyone tell me if there is a setting somewhere Im missing or explain why this is happening as I have read that there should be no limit to the amount of columns you have as long as you have less than 2^32 elements which I am well below.  I am using a Labview 2009 and a PC with windows7 64bit and 4G RAM so there should be no problem with PC resources.
    Thanks,
    Ray.

    Hi Ray,
    702 is the limit when you use just 2 chars for the column name: "A" to "ZZ" allows for 702 columns.
    Probably a subVI somewhere deep in your Excel loading routine is limited for that naming scheme (or is only aware of  older Excel versions)...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How to prevent saving edits when closing Adobe

    I have several blank forms saved on my tablet and I need to use the same blank form for different jobs. Every time I fill the form it gets automatically saved and I no longer have my original blank form.
    Is there a way to disable this feature.
    Thank You

    Adobe Reader for iOS automatically saves any changes to a currently viewed PDF document when you close the document by going back to the home screen (showing the file browser).  There is no preference or option to disable/turn off the "Auto Save" feature.
    You can make a copy of your blank form before you open it.
    In the home screen, tap Documents.
    Long press (press & hold) the document that you want to make a copy of.
    Tap the overflow icon (with small three squares) in the upper right corner.
    Tap Duplicate.
    Open the newly duplicated PDF document (instead of the original one).

  • Detecting unsent data when closing a socket

    I'm currently using a non-blocking socket to send data to a remote server. Whenever the application detects that the connection has been closed remotely, it will close the local connection, however netstat reports that there is unsent data still in the TCP/IP buffers.
    What I'd like to do is check within the application whether there is any unsent data at the time the socket is closed. I've read that SO_LINGER can be used in such circumstances and then checking the return code on closing the socket, but it's unclear whether this will work in non-blocking mode.

    Instead of closing the PrintWriter just flush it. Then do shutdownOutput, then close either the PrintWriter or the socket - you don't need to do both.

Maybe you are looking for

  • I get a runtime error when I try to open itunes, any help?

    I get a runtime error when I try to open itunes, any help?

  • Error during PDF post processing in HtmlToPDF

    Hi, I am using Web services interface to convert Html document to PDF. Works fine for simple html documents stored locally. However when using a remote html document (for example the one in the quickstart--http://www.adobe.com--I am getting an except

  • Event firing at item added and item updated in event receiver?

    Hi All, I have created event receiver on item added & item updated on document library. 1) On Item Added i am updating document library Title column with document Name and i have metadata for the file. 2) On Item Updated i am move that file with meta

  • How do I disable or delete the country code prefix

    I'm in Mexico and want to call another Mexican city ant skype keeps adding 52 before my number. Apparently it thinks I'm in the States and will need this code. How on earth do I just type in a phone number without a code? I don't need a country code

  • Podcast explicit tags are not being recognized

    I'm using Squarespace as my website host, and have followed their instructions to insert the iTunes Explicit tag into our feed before submitting to the iTunes store. Unfortunately, after extensive testing with Squarespace support, the tags are being