After running Export from Access query the query empties itself

Hello,
I'm facing a weird problem in Access 2010. I have several queries that I sometimes export to both Excel and HTML formats, sometimes when I export, the query empties itself. Meaning, the SQL code disappears from the query and I have to rebuild it before I
can use it again.
Does anyone understand how this can happen?
Kind regards,
Rob Demandt

Dear Kev,
Sure, the queries are relatively simple, an example:
"SELECT AC_DEV_01_AUTOPO_NOSOURCE_US50.F1 AS Material, AC_DEV_01_AUTOPO_NOSOURCE_US50.EersteVanF2 AS [Material Description], AC_DEV_01_AUTOPO_NOSOURCE_US50.EersteVanF6 AS Vendor
FROM AC_DEV_01_AUTOPO_NOSOURCE_US50
WHERE (((AC_DEV_01_AUTOPO_NOSOURCE_US50.EersteVanOpProc)="PJ"));"
The export is indeed invoked using a MACRO that uses the ExportWithFormatting syntax to export a few queries in a row to XLSX and HTML.
Kind regards,
Rob Demandt

Similar Messages

  • How to  Export/Import "report for the query" to another company

    Hello,
    I do this:
    1.create query in SQL analizer
    2.copy paste into SBO query generator and save
    3.create report for the query
    Then, How to Export/Import "report for the query" to another company ?
    Thanks for your HELP.

    Look for SAP Note number 600813
    That's the note Adele means, I guess.
    <b>Edit (@13:18)</b>
    The direct link:
    https://websmp101.sap-ag.de/~sapidb/012006153200000183292003E.ITF
    ---- Replace *SOURCE* with the source database name.
    ---- Replace *DEST* with the destination database name.
    insert into [*DEST*].[dbo].[RDOC]
    select [*SOURCE*].[dbo].[RDOC].*
    from
    [*SOURCE*].[dbo].[RDOC],[*DEST*].[dbo].[cinf],[*SOURCE*].[dbo].[cinf]
    where [*DEST*].[dbo].[cinf].[lawsset]=[*SOURCE*].[dbo].[cinf].[lawsset]and [*DEST*].[dbo].[cinf].[version]=[*SOURCE*].[dbo].[cinf].[version] and [*SOURCE*].[dbo].[RDOC].[Doccode]NOT IN (SELECT Doccode from [*DEST*].[dbo].[RDOC])
    insert into [*DEST*].[dbo].[RITM]
    select [*SOURCE*].[dbo].[RITM].*
    from [*SOURCE*].[dbo].[RITM],[*DEST*].[dbo].[cinf],[*SOURCE*].[dbo].[cinf] where [*SOURCE*].[dbo].[RITM].[Doccode] NOT IN (select Doccode from [*DEST*].[dbo].[RITM])AND [*SOURCE*].[dbo].[RITM].[Doccode]IN (SELECT Doccode from [*DEST*].[dbo].[RDOC])
    Hope it helps...
    Grtz, Rowdy

  • How to know last run time and who ran the query

    Hi
    I am doing the analysis for all the queries , their last run time and who ran the query
    Since there are almost 6000 queries , is there any way to find out last run time and who ran the query
    in one step or through any transaction else It would huge effort taking task to check the data in BW statistics
    table for each query
    Regards,
    Vivek

    Hi,
    Statistics should be switched ON for all the queries first. You can check this in RSDDSTAT.
    Statistics data is stored in BW for a specific period only. This setting can be maintained in table RSADMIN (Field : TCT_KEEP_OLAP_DM_DATA_N_DAYS). If the value for the field is 30, then 30 days old statistics will be available at any point.
    Not all the queries will be ran daily. Some are ran daily, monthly and yearly depending upon User requirement.
    1. You can check in RSDDSTAT_OLAP for the details you needed.
    2. You can install the BI Technical Content and run the respective query for the details you needed.
    Hope this helps.
    Regards,
    Sunil

  • When clicking websites my Avast 5.0 antivirus notifies me that a malicious URL is trying to access my system or that a Trojan has been prevented from access. The attempted Malware/Trojan is always from the same address:[Ticon.in/nte/kuz/.exe/xhdoe515bvo3

    suspicious Maleware / Trojan.
    == This happened ==
    Every time Firefox opened
    == I tried to access a website

    Hello "Morbus",
    Thank you for your quick and informative reply. First I would like to provide more information on this attempted Malware/Trojan. I have copied the full addresses for you and/or anyone who may have interest. It follows below.
    28.06.2010 07:38:00 Network Shield: blocked access to malicious site 楴祣湯椮⽮瑮⽥畫⹺硥e [ C:\program files\Mozilla Firefox\Firefox.exe ( 5436 ) ]
    28.06.2010 08:14:44 Network Shield: blocked access to malicious site 楴祣湯椮⽮瑮⽥畫⹺硥e [ C:\Program Files\Mozilla Firefox\Firefox.exe ( 4476 ) ]
    28.06.2010 13:32:53 Network Shield: blocked access to malicious site 楴祣湯椮⽮瑮⽥畫⹺硥e [ C:\Program Files\Mozilla Firefox\Firefox.exe ( 1988 ) ]
    28.06.2010 17:51:53 Network Shield: blocked access to malicious site 楴祣湯椮⽮瑮⽥畫⹺硥e [ C:\Program Files\Mozilla Firefox\Firefox.exe ( 5400 ) ]
    29.06.2010 13:31:03 Network Shield: blocked access to malicious site ticyon.in/nte/kuz.exe [ C:\Program Files\Mozilla Firefox\Firefox.exe ( 2444 ) ]
    29.06.2010 23:15:14 Network Shield: blocked access to malicious site ticyon.in/nte/kuz.exe [ C:\Program Files\Mozilla Firefox\Firefox.exe ( 480 ) ]
    30.06.2010 09:36:22 Network Shield: blocked access to malicious site ticyon.in/nte/kuz.exe/wHd0e51a5bV03006f36002Ra38dbe4f108T9ccfa9f8Q000002fe901801F0035010aJ14000601L656e2d55530000000000 [ C:\Program Files\Mozilla Firefox\Firefox.exe ( 5164 ) ]
    30.06.2010 22:31:52 Network Shield: blocked access to malicious site ticyon.in/nte/kuz.exe/wHd0e51a5bV03006f36002Ra38dbe4f108T9ccfa9f8Q000002fe901801F0035010aJ14000601L656e2d55530000000000 [ C:\Program Files\Mozilla Firefox\Firefox.exe ( 3600 ) ]
    I had failed to mention in my previous comments that each time the attempted attacks took place, a blank Adobe PDF page appeared. As you suggested, I disabled the Adobe add-on and have had no further attacks. I am extremely dilligent in keeping my SuperAntiSpyware Pro, AvastAntiVirus 5.0, ThreatFire, Vista Firewall Control, Malewarebytes and Windows Defender up to date. However, after any attack I always run these in safe mode just as a precaution. I had suspected the Adobe drop-in may have been the culprit because of the page that appeared and your suggested fix has in fact fixed it!
    Thank you again for your unselfish time in coming to my rescue. "Deaf Dave"
    From: [email protected]
    Date: 7/1/2010 12:53:40 PM
    To: [email protected]
    Subject: Reply notification: when clicking websites my Avast 5.0 antivirus notifies me that a malicious URL is trying to access my system or that a Trojan has been prevented from access. The attempted Malware/Trojan is always from the same address:[ticon.in/nte/kuz/.exe/xhdoe515bvo38d
    "Morbus" has posted a reply to a thread you're watching.
    You can view the thread and reply at the following URL:
    https://support.mozilla.com/en-US/forum/1/714170#threadId714337
    Message:
    Hello Deaf Dave.
    It's possible that you are having a problem with some Firefox add-on that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?
    Whenever you have a problem with Firefox, whatever it is, you should make sure it's not caused by one (or more than one) of your installed add-ons, be it an extension, a theme or a plugin. To do that easily and cleanly, run Firefox in [http://support.mozilla.com/en-US/kb/Safe+Mode safe mode] (don't forget to select ''Disable all add-ons'' when you start safe mode). If the problem disappears, you know it's from an add-on. Disable them all in normal mode, and enable them one at a time until you find the source of the problem. See [http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes this article] for information about troubleshooting extensions and theme and [https://support.mozilla.com/en-US/kb/Troubleshooting+plugins this one] for plugins.
    If you need support for one of your add-ons, you'll have to contact its author.
    Also, it's possible that your system is infected with malware. To scan for malware, install, update and run these programs ''in this order''. They are all free for personal use, but some have limited functionality in their "free mode", but the features you'll miss are not really needed to find and remove the problem you have. Remember that ''not all programs detect the same malware''!
    Malwarebytes' Anti-Malware - [http://www.malwarebytes.org/mbam.php malwarebytes.org/mbam.php]
    SuperAntispyware - [http://www.superantispyware.com/ superantispyware.com]
    AdAware - [http://www.lavasoftusa.com/software/adaware/ lavasoftusa.com/software/adaware]
    Spybot Search & Destroy - [http://www.safer-networking.org/en/index.html safer-networking.org/en/index.html]
    Windows Defender - [http://www.microsoft.com/windows/products/winfamily/defender/default.mspx microsoft.com/windows/products/winfamily/defender/default.mspx]
    Dr. Web Cureit - [http://www.freedrweb.com/cureit/ freedrweb.com/cureit]
    If these don't find it or can't clear it, please tell me and I'll provide you with further assistance.
    Did this response solve your problem with Firefox?
    Yes, this solved my problem (click here):
    https://support.mozilla.com/tiki-feedback.php?id=714170&hash=6d5f163b3092b464aa15d04188b5cca2&type=forum_topic&feedback=Firefox%20Support%20Forum&commentId=714337
    No, this did not solve my problem (click here):
    https://support.mozilla.com/en-US/forum/1/714170?hash=6d5f163b3092b464aa15d04188b5cca2#form
    If you no longer wish to receive notifications for this thread,
    visit the following URL to cancel your subscription:
    https://support.mozilla.com/tiki-cancel_watch.php?section=forum&hash=6d5f163b3092b464aa15d04188b5cca2

  • Missing partitions after running Recovery from previous System Image Backup in Windows 8.1

    After running Recovery from a recent Sytem Image Backup the LRS_ESP partition is now missing and the Used space on the  PBR_DRV partition is reported as 95.20MB while it previously reported 9.52GB in use. The WINRE_DRV, SYSTEM_DRV, Windows8_OS and D:LENOVO partions appear to be OK. 
    I ran the Recover after replacing the original 500GB HDD with a 1TB. Any details/links/recommendations on recreating/correcting the LRS_ESP and PBR_DRV partitions? Thanks!

    Here are the before and after partition details obtained through Partition Wizard:
    Link to image 1
    Link to image 2
    Moderator note: large image(s) converted to link(s):  About Posting Pictures In The Forums

  • Hallo, - I have a PC running Win 7 Professional. After running Kaspersky Internet Security 2015 the  Creative Cloud isn't working any more. I tryed to delete the cloud and reinstall (system error 1) it but no change. I also can't download Flash - even not

    Hallo, - I have a PC running Win 7 Professional. After running Kaspersky Internet Security 2015 the  Creative Cloud isn't working any more.
    I tryed to delete the cloud and reinstall (system error 1) it but no change. I also can't download Flash - even not shutting down Kaspersky. Help Please!!

    Hallo, - I have a PC running Win 7 Professional. After running Kaspersky Internet Security 2015 the  Creative Cloud isn't working any more.
    I tryed to delete the cloud and reinstall (system error 1) it but no change. I also can't download Flash - even not shutting down Kaspersky. Help Please!!

  • After running permissions repair i get the folling msg.  Warning: SUID file "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent" has been modified and will not be repaired.

    after running permission repair i get the following msg. anyone know how to fix this?
    Warning: SUID file “System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent” has been modified and will not be repaired.

    As long as the report ends up with 'Permissions repair complete' then, as far as permissions go, you are fine. You can ignore the various statements in the report:
    Permissions you can ignore on 10.5 onwards:
    http://support.apple.com/kb/TS1448
    Using 'should be -rw-r--r-- , they are lrw-r--r--' as an example, you will see the that the permissions are not changed, but the | indicates a different location. This is because an update to Leopard onwards changed the location of a number of system components.
    Poster rccharles has provided this description of what it all means:
    drwxrwxrwx
    d = directory
    r = read
    w = write
    x = executeable program
    drwxrwxrwx
    |  |  |
    |  |   all other users not in first two types
    |  | 
    |  group

    owner
    a little more info
    Before the user had read & write. A member of the group had read.
    After, only the user had read & write.

  • Bought the song "Earthquakey People (feat. Rivers Cuomo)" from itunes and the song skips itself after the first 10 second (literally) what can i do

    I bought the song "Earthquakey People (feat. Rivers Cuomo)" from itunes and the song skips itself after the first 10 second (literally) and i have already deleted it ad downloaded it again and it still is doing the same thing what can I do?

    Contact the iTS Customer Service via the links on this page and explain the problem - http://www.apple.com/support/itunes/
    MJ

  • Every time that I play a tune from my itunes the file duplicates itself into my 'MyDocuments' folder. If I delete this the song is erased from itunes totally. Ideas??

    Everything worked fine for the last two years but now every time that I play a tune from my itunes the file duplicates itself into my 'MyDocuments' folder. If I delete this the song is erased from itunes totally. Ideas??

    You are of course deleting the tunes from within the iTunes interface.
    The settings that I am referring to are your device settings for the iPad. It should show in the left column of iTunes when your iPad is plugged in.
    Go through your playlists and make sure that the tunes(s) are removed from any playlist. You can prevent the sync as noted above then do a sync and the iPad should update with the content from you Mac.
    MJ

  • Can you control a URL in eloqua from being adding the query string??

    If I am inserting a URL in an email, i cant seem to stop eloqua from adding extra parameters in the form of query string in eloqua.
    I want to make this happen because the URL doesnt seem to work if we add any extra parameter using query string.

    I've tired doing this and it did not work for me. However, I was able to find a solution that helped me a whole lot.
    After running all test runs - I found a solution that helped me take off the extra parameters that Eloqua adds to all URL's.
    I created my urls without placing "http://" or "https://" or http://www." or "https://www." and that helped take off all tracking.
    Re: Use of tinyUrl

  • Allow the external access to the query massage for WEBI in BO 4.0 ,

    Hi ,
    I created the BEX query and in query properties I checked " Allow External access to this query" and saved the query
    but this check box  option  " Allow External access to this query"  is not saving .
    is there any note need to be implimented for this problem.
    I created the the connection using the information design tool.
    I'm trying to create the Webi using BICS connection form BEX query through Web intellengence rich client
    it is giving the message like "it is not possible to use this Bex query as source for Web intellengence reports. Ask your administrator to edit this query so that it can be used by
    web intellengence and enable the query propery" Allow External access to this query.
    we are using BI - 7.35 support pack  4  and BO - 4.0 SP2
    Did any one has faced this issue, Could you please send your comments
    Regards
    JV
    Edited by: Jennie Juvvanapudi on Oct 13, 2011 3:43 AM

    Upgrade your SAP GUI to 720 and there will be a updated patch at service market place for GUI 720 which will resolve this issue.
    When we faced same issue we had upgraded and our system currently shows
    SAP GUI Release: 720 Final Release
    File Version: 7200.3.7.1066
    Build:            1257409
    Patch Level: 7
    Thanks,
    Suresh

  • I burnt a dvd from a file I exported from quicktime using the share with apple and pc option.  It was burnt directly from the finder. The dvd works perfectly on my mac, and also runs in my windows, but the sound in my windows pc is stammered.

    This is file I created in SnapzPro (which was saved as a Quicktime mov - Animation) of a Powerpoint Presentation.

    Jon, how do I re-compress the Snapz data for dvd playback?
    That depends on your specific work flow strategy. I normally perform the processing in two stages if editing is involved or in a single stage if I don't plan to trim, title, add a narration track, add special effects, and/or add filters to the Snapz Pro X captured screen data.
    In the two-stage process you export the captured data to an intermediate low-compression, high-quality fomat. (This can be the default settings for Snaps Pro X or a more modern editing specific format like ProRes 422/Linear PCM depending on the codec components for which your system is configured and your personal editing preferences.) The Snapz Pro X intermediate file is then edited in the application of your choice and the results are re-compressed to your final target compression format.
    In any case, whether you are re-compressing the data using QT 7 Pro, iMovie, GarageBand, MPEG Streamclip, Snapz Pro X, or similar third-party app that accesses the built-in OS X QT routines, the export process is essentially the same. Whether you use a "Movie to MPEG-4" or "Movie to QT Movie" export, you must export to a data rate limited, multi-pass H.264/AAC compression combination to take advantage of the "Optimize of CD/DVD" option. Specific data rate limits depend on the playback dimensions of the file you are creating, the minimum level of quality you will accept, and the playback speed of the hardware to be used. (I normally target 4X-8X settings for SD content but if you know the recipient has a higher rated optical drive and your content is HD, then you can use higher encode settings for improved quality.)
    I captured the slideshow again in Snapz, and saved it as H264/AAC. Is this good enough?
    If you did not specifically use the "Optimize for..." feature, then the file is automatically targeted for "Computer" playback which assumes playback is from an hard drive which has greater bandwidth/faster throughput than an optical media player. If the target display dimensions are resonably small, the the contextual nature of the H.264 video encoder may or may not be within the playback limitations of an optical drive usually depending on the encode matrix dimensions, graphic complexity of the source data, overall brightness of the scenes, and limitations you may have place on the target file—i.e., the larger the encoding dimensions, the faster the data date and the less likely the file will be compatible with optical drive playback without having to constantly interrupt playback to cache/rebuffer additional data. However, you can always tell the recipient that if this happens, he or she should simply copy the movie file from the CD/DVD to their hard drive for playback.
    What now? Do I open it in Quicktime and use the "share for mac and pc", then right-click on it in the finder and "burn to disc?"
    What you do next depends on how you plan to burn the file. The steps explained above allows you to create a file that is compatible with playback from an optical drive in a QT Player app but is not authored for playback from a commercial DVD Player. Your next step is to burn that file to an optical disc that can be read by your recipient's computer. I my case, I normally burn the disc using a hybrid (HFS Plus/ISO 9660) format which supports HFS Plus, ISO-9660, Rock Ridge, and Joliet with Rock Ridge file systems. How you do this is up to you. You can, for instance, use a third-party app like Toast or Dragon Burn to create a data disc; create/burn an image file with your Disk Utility app (this is a good option if you plan to burn several discs now and/or in the future); create a named "Burn" folder, drop the file to it, and press the burn button; or simply insert a blank optical media disc into you optical drive, change the default disc name to whatever you want, drop your file to the blank media's Finder window, and press the "Burn" button. (NOTE: Burn options may differ depending on the software installed on your system and/or the version of OS X under which you may be operating.)
    Dont see any specs re playback from an optical disc drive? The slideshow is only 3 min long, and I want to avoid turning it into a video DVD using iDVD, iMovie etc, as the quality of the pictures and type degrades badly. Thanks for the help. Been struggling with this for weeks.
    As noted above, this is an encode setting that only becomes active when you are targeting your H.264/AAC encode for multi-pass/data rate limited compression. When active, the "Optimize for..." pop-up allows you to select "computer" (targets playback from a hard drive), "CD/DVD" (targets playback from optical media), or "Streaming" (targets playback from a realtime streaming server) options. This option prevents data rate excursions from exceeding limits normally associated with each of the named types of playback. This option has nothing to do with the file system used to burn the media disc which determines which platforms/OS can read the disc and the file it contains.

  • Can I stop a report from Re-executing the query when I go back to that page

    I have a report that has a complicated query and looks at a lot of information to display the results. This query then links of to show details of individual items that were displayed in the result. But when I hit the back button on the browser, it executes the query again and it takes a while for the page to load.
    Is there any way to stop this and only execute the query when the User pushes a Button on the page else display the previous results.
    Thanks
    Sriram

    Another alternative is to make that detail link open in a popup window using
    javascript:popupURL(...);This way, the complicated report page is always visible.

  • Arabic support in isqlplus after import export from 7.3.4 to 10.2.0.3

    CANNOT DISPLAY ARABIC IN ISQL*PLUS(JUNK). APPLICATION WORKS FINE WITH ARABIC
    with Taret DB char set to US7ASCII the data is always junk old data +new inserted arabic data inserted thro isqlplus or sqlplus.
    with AR8MSWIN1256 the old data(imported in to new db from old 7.3.4 db export dump) is displayed as junk (what ever in the db) and after creating a new table data inserted, the arabic display is fine.
    How to overcome the problem of displaying old data? we have lots of data for migration.
    Thanks

    Small correction
    In DB with Char set to AR8MSWIN1256.......
    Old data exported from 7.3.4 and imported in new 10.2.0.3 db is showing arabic char as junk
    But new table created and data inserted as arabic is displaying properly.
    What has to be done such that old imported data displays arabic.
    We are using isqlplus and sqlplus to query the data
    Thanks

  • Import/Export from Access MDB to Oracle DB

    Dear Friends,
    I need to import a huge table from access to Oracle. I tried to export the file from MS Access to Oracle, it is giving error. I tried another way of doing , i first exported the data to SQL server and then using Export/Import utility of SQL Server, it has imported succesfully. I am not sure which is the best way to import data from ACCESS to Oracle.
    Kindly suggest,
    Regards,
    Vinay

    Another approach you might try goes something like this:
    1. In Access, link the destination Oracle table (for example, via File, Get External Data, Link Tables...).
    2. In Access, create an Append Query to select rows from your Access table and insert them in to the linked Oracle table.

Maybe you are looking for

  • Everyone needs to read this, HELP!

    Ok, my saga began on Christmas Day, the following are going to consist of several of my previous posts and then I'll give you all an update on my current situation. Dec 26, 2005 Ok, I just recieved my 4gb nano and I put the CD in and follow the instr

  • Portal Runtime Error when operating "Portal Content"

    Hi there, these days, I installed a NW710 in our team server, and try to configure its UWL to one backend system. Therefore I need to create a new system entry from "System Administration->System Configuration->Portal Content->New->System(from templa

  • SQL Tracing for session started from Java code

    I am working with Oracle 10g on Solaris 9. I am facing a problem when trying to enable SQL Trace for Oracle sessions initiated from Weblogic server. I am querring V$SESSION to get the SID and SERIAL# of those sessions and then using DBMS_SYSTEM.SET_S

  • Error when importing files

    hello, I've just installed oracle XE and now I've tryed to import a css file to my application. but when I click on upload, a page appears "page can not be found". (http://127.0.0.1:8080/htmldb/wwv_flow.accept) when I hit the reload button of my brow

  • Where to maintain table coumn names

    Hi, I can type the header label text for coulmn heading in the layout as hardcoded, and I cna also do it by putting field mapping value attribute from View context. whats the best way to do it? should I declare a method in component controller contex