How to set/change location of DBF files?

Hi,
I would like to connect programatically my report to DBF file and it is needed to specify location of dbf files. Is possible to handle with it? (Crystal Reports 2008 SP3 Full version, VS 2008)
Tomas

You will have to set the location for each table. I believe something along these lines:
Dim myreport As New CrystalReport1
' Set the 'Location' property for each table in your database.
myreport.Database.Tables(0).Location = "C:\mydb\table1.dbf"
myreport.Database.Tables(1).Location = "C:\mydb\table2.dbf"
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup

Similar Messages

  • I have problem with Itunes losing where podcasts and some purchased music is located. Don't know how Itunes losing the locations of the files and I can't find the files on my hard drive. What can I do to stop Itunes losing location and restore my files?

    I have problem with Itunes losing where podcasts and some purchased music is located. Don't know how Itunes losing the locations of the files and I can't find the files on my hard drive. What can I do to stop Itunes losing location and restore my files?

    Try assigning Queen as the Album Artist on the compilations in iTunes on your computer.

  • How can I change the insert SWF File, I need to add a few things and make it better?

    How can I change the insert SWF File, I need to add a few things and make it better? Is there an option inside of the dreamweaver menu that I am not looking at. It would make it easier on me if I changed some things around and didn't have to do it all myself each time I used it. Just incase you was needing to remember what swf flash was, It is not a swf video either.
      <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="640" height="480">
        <param name="movie" value="Sonic Kaboom.swf">
        <param name="quality" value="high">
        <param name="wmode" value="opaque">
        <param name="swfversion" value="9.0.115.0">
        <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
        <param name="expressinstall" value="../Scripts/expressInstall.swf">
        <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
        <!--[if !IE]>-->
        <object type="application/x-shockwave-flash" data="Sonic Kaboom.swf" width="640" height="480">
          <!--<![endif]-->
          <param name="quality" value="high">
          <param name="wmode" value="opaque">
          <param name="swfversion" value="9.0.115.0">
          <param name="expressinstall" value="../Scripts/expressInstall.swf">
          <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
          <div>
            <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
          </div>
          <!--[if !IE]>-->
        </object>
        <!--<![endif]-->
      </object>
    </div>

    If I understand correctly, Sonic Kaboom.swf needs to be edited in a separate Flash authoring program and then reinserted into your HTML document. 
    As Murray said, Flash is dead.  Nobody uses it anymore.   We use HTML5, CSS3 and JavaScript animations which have universal support from Smartphones, Tablets and other web devices that can't support Flash.   Look at Edge Animate.
    HTML animation | Download free Adobe Edge Animate CC trial
    Nancy O.

  • How to set password for a zip file and should be checked when reading that

    Hi friends,
    how to set password for a zip file and should be checked when reading that file???
    thanks.
    Praveen Reddy.J

    Heyy man, i think, u did not get my problem.
    all i have to do is:
    i have to create a zip file, and we should secure it with password when creating. and whenever the user wants to open that zip file he should provide correct passowrd otherwise he could not read that file. So, we should check for that also.
    Tanks for reply.

  • How to trace changes in directories and files in windows using java.

    Hi,
    Want to know how to trace changes in directories and files in windows using java.
    I need to create a java procedure that keeps track of any changes done in any directory and its files on a windows System and save this data.
    Edited by: shruti.ggn on Mar 20, 2009 1:56 AM

    chk out the bellow list,get the xml and make the procedure.....     
         Notes          
    1     Some of the similar software’s include HoneyBow, honeytrap, honeyC, captureHPC, honeymole, captureBAT, nepenthes.     
    2     Some of the other hacking software’s include keyloggers. Keyloggers are used for monitoring the keystrokes typed by the user so that we can get the info or passwords one is typing. Some of the keyloggers include remote monitoring capability, it means that we can send the remote file across the network to someone else and then we can monitor the key strokes of that remote pc. Some of the famous keyloggers include win-spy, real-spy, family keylogger and stealth spy.          
    3     Apart from theses tools mentioned above there are some more tools to include that are deepfreeze, Elcomsoft password cracking tools, Online DFS, StegAlyzer, Log analysis tools such as sawmill, etc.

  • How to set change number is prerequisite when change BOM?

    Dear SAP Experts,
    I have actived EC management  in BOM control data in IMG. But when i changed
    BOM ( the code  CS02 )  with change number blank, system had not given an error message. SO,how to set change number is prerequisite when change BOMs?
    Thanks...
    Regards,
    Joey.

    Just a guess: Transaction os27 and change the number range to external.
    Matthias

  • How do you change orientation of pdf file to fill and sign?

    how do you change orientation of pdf file to fill and sign?

    Adobe Fill & Sign does not yet have a feature to rotate PDF pages but there are several websites that will rotate a PDF for free and then you can bring that PDF with correct orientation into Fill & Sign to fill out.  Any of the top hits when you google "rotate PDF free" will work.
    Thanks,
    Josh

  • I'm in Panama trying to watch World Cup games in Univision but it's not streaming to Panama. How do I change location?

    I'm in Panama trying to watch World Cup games in Univision but it's not streaming to Panama. How do I change location? i have mini I ipad

    Since location of an internet connected device is quite easily determined by IP address, it is very unlikely you will be able to do anything about that if it is indeed being blacked out in Panama. Hit the app store and see what might be available to you in Panama. Univision doesn't have exclusive rights to the games.

  • How to set up location services on ipod touch

    how to set up location services on ipod touch

    Go to Settings>Privacy and turn it on.
    For location the iPod uses the location of nearby wifi routers that are in Apple's database. You do not have to be connected to the network/router to use that router's location. Thus, if the iPod does not know its location it appears that the iPod can't see a nearby router that is in Apple's database. Apple continuously updated their database based on info they obtain from iPhones. No one has been able to find a way to inform Apple of a router or correct is location.
    You can confirm that by going to place with a know located router like Starbucks or McDonalds

  • .How to Change Path to dbf files Using Visual FoxPro ODBC Driver

    Using vb.Net 2008, full Crystal 2008.
    I have a Crystal report that uses a Visual FoxPro File DSN pointing at a folder with dbase (.dbf) files. 
    I need to be able to change the folder location at runtime. In the RDC, one key part of this has been specifying a connection string, such as:
    "Driver={Microsoft Visual FoxPro Driver};SourceType=DBF;SourceDB=" & gs_FileDSN_Path & ";Exclusive=No;Collate=Machine;Null=Yes;BackgroundFetch=No;"""""""
    However, I can't find any .NET documentation confirming this syntax and, even more importantly, where does it go?
    I tried 2 variations as:
                    reportTableLogonInfo.ConnectionInfo.Attributes.Collection.Add(New NameValuePair2("Connection String", ls_ConnectionString))
                    reportTableLogonInfo.ConnectionInfo.Attributes.Collection.Add(New NameValuePair2("ConnectionString", ls_ConnectionString))
    Followed later by   TableN.ApplyLogOnInfo(reportTableLogonInfo)before calling
    But I don't know if the correct attribute name is "Connection String", "ConnectionString", or something else.
    I also tried to set the connection string to the QE_ServerDescriptions property, as in:
    reportTableLogonInfo.ConnectionInfo.Attributes.Collection.Add(New NameValuePair2("QE_ServerDescription", ls_ConnectionString))
    None of these variations nr many others seem to work.
    BOTTOM LINE:
    Could someone provide sample code for overriding the dbase files folder location specified by a Visual FoxPro FileDSN?
    Thanks!

    OK, I came to the conclusion that the tables or the report somehow hold on to the File DSN for dear life and I can't change that fact.
    So I'm going to change my approach and instead of changing the connection properties of the tables, I'll modify the properties of the File DSN on the fly.  Ugly, but an OK solution for my use scenario.
    It would still be great to get a code sample for the original question but, it's no longer a burning issue for me.
    It would be nice if the support team created a document describing in detail how to achieve database location changes using .NET for different scenarios. It's a common need and the RDC object model had such a document.

  • How do I change the pre-filled file location when I choose Save As?

    16 September 2013
    Using Windows 7 Home Edition and Firefox 24.0
    I always want Firefox to offer a location when I download stuff. At the moment it fills the Save As file location with a location I never use and it is the same one every time, and I don't know how to stop this from happening. How can I teach Firefox to fill the Save As location with another file location, for example Desktop?
    NB This is absolutely not about setting the default under
    Tools/Options/General/Downloads/Save Files To...
    although everyone automatically assumes it is.
    Background: After using Firefox for a few months on my Windows 7 machine, I then imported old Firefox settings from a VISTA machine.

    You may want to reset the prefs file, it should show the last place you saved a page from.
    * [[Reset Firefox preferences to troubleshoot and fix problems]]

  • Changing Location for Assignment Files

    I create lots of InCopy assignments from InDesign. (Using CC for both) For each New Assignment I have to  change all the options: "Location for Assignment File", "All Spreads", "Link Image Files when Packaging". Is there a way to set the defaults for these? I waste a lot of time and often make mistakes doing this manually for each new assignment I create.
    Thank you.

    Thanks,
    I figured that out minutes after I posted on this forum.
    Regards,
    Jim Brown,
    Harris Corporation, Multimedia Center

  • How do I change the default storage file for PDFs?

    I want to save PDFs. Now the default files are in AppData/Local/Microsoft/Windows/Temporary Internet Files/Content IE5/V6ZGH08N. I have to drill UP through all those to get to where I want to save the item in PDF Files. How can I change the default?

    The file path (AppData/Local/Microsoft/Windows/Temporary Internet Files/Content IE5/V6ZGH08N) that you posted is the internet cache of the MS Internet Explorer and not a location that Firefox uses although MS plugins like the Windows Media Player will use that location.
    Files that are opened in an external program will be saved to the temp folder as specified in the %temp% and %tmp% environment variables.
    What makes you think that Firefox is saving PDF file in that folder?
    Are you using an extension like IE Tab or IE View to open specific locations with IE?
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode

  • How to set database location for stored procedure

    Post Author: Pavel
    CA Forum: Data Connectivity and SQL
    I've already found out that setting location is not only my problem, but I can't understand the correct decision. We using CR to create reports, accessing the data in MSSQL by ODBC.
    Previously (up to version 8) I set location directly, editing the "Table" field in "Set Location" form. Command after report creation was:
    Proc(DBNAME.dbo.PROCEDURE_NAME;1)
    I erased "DBNAME.dbo.", so the correct command was
    Proc(PROCEDURE_NAME;1)
    After that, the report can run on any database name, any ODBC datasource with any owner name of procedure.
    Now we had to upgdate to CR 11 Developer Edition.
    Here I can't erase database location. But when I change database location to ODBC datasource for another database, the properties of stored procedure "Catalog" and "Owner" remain the same as they initiated when report was created! So, when report runs, it call
    exec OLD_DB_NAME.dbo.PROCEURE_NAME;1 ....
    So, the report doesn't work on customer database, because it has different name.
    How can I erase any database location in the report?We run reports using API from Gupta Team Developer applications, may be it is possible to set database location by API before running report?
    Plese help, any tips are usefull.

    Post Author: Pavel
    CA Forum: Data Connectivity and SQL
    When I set location to another database (i.e. another ODBC datasource) by clicking Update button, "Catalog" property is not changing! It remains unaltered. I had to remove procedure from report and then add procedure from another database, so there was a lot of formatting fileds after that.
    This is not a right decision. I didn't solved current problem, I only temporary patched it.
    The correct desision is to set location programmatically from application.But function PEGetNthTableLocation returns empty strings in CR11, or I incorectly declared this function (from CR8.5):
    BOOL CRPE_API PEGetNthTableLocation ( short printJob,  //handle to print job short tableN,  //number of table struct PETableLocation FAR *location     //structure pointer);typedef struct PETableLocation {    WORD StructSize;    char Location &#91;PE_TABLE_LOCATION_LEN&#93;; //256    char SubLocation&#91;PE_TABLE_LOCATION_LEN&#93;; //256    char ConnectBuffer&#91;PE_CONNECTION_BUFFER_LEN&#93;; //512} PETableLocation;

  • Need help changing location of music files on my compute

    I purchased a separate hard drive to store my itunes music files. I copied the music from the default location on my hard drive to the new hard drive. How do I change the path on the iTunes site to the new hard drive location?
    Any help is greatly appreciated.

    Undo what you've done, and follow these directions to consolidate your library:
    http://support.apple.com/kb/HT1364?viewlocale=en_US
    Also, you might consider giving your exHD a letter pretty far down in the alphabet, so when you plug in other USB devices, the drive letter won't change in Windows. That can cause itunes to lose the path to your music with the ! file not found message.

Maybe you are looking for

  • Why does everything look perfect in preview browsers firefox and IE but not online?

    Hi, I have spent a couple months creating a website and checking all the pages on the preview browser and all the pages looked great.  I finally put all the files to the server and online and the formatting is messed up on portions of every page.  Ye

  • ISE1.1.3 failover problems

    Hi guys I am going to write a short story and will try to explain the problem I have. Here is my setup. I have two ISE servers running I. Primary and secondary mode. Ise1 and ise2. Everything is configured and sync is complete. My access switch is a

  • Example of a formula in a text field

    Is it possible to input an example of a formula in a text field? For example:           (To get abc - EFG) HIJ=           KLM thanks

  • Re: 0xa0000001 - Error Message

    I have recently had two (2) incidents of BSOD with the 0xa0000001 error emssage.  I have a new Pavilion 500-314 with WIn 8.1.   Where do I find the correct AMD graphics drivers?

  • How to handle a java.lang.OutOfMemoryError???

    I use java1.1.7A. In prog. a outofmemoryerror occours when using a JEditorPane.EditorKit.read(xx,xx,xx). I catched it and forced running a System.gc( ) to make the garbage collector active to enlarge the memory. But it seems it didn't help. Has anybo