How to set path of MS-Access databse file dynamically in crystal report

i have windows application and crystal reports and access database.when i connect crystal report to database through followingpath like
\\machinename\FolederName\AccessDBFile.mdb..here machine name is my machine name(i.e:PCNAMe).but when i will deploy this application on cliet machine then how i can set the path to crystal report with his machine name dynamically..or is
there any other provision to do this so that i can set it dynamically.
one more thing i want to tell you is that i wwant to share database on multiple machines so how can i do that.

Hello,
Crystal reports is for a long time not anymore supported by Microsoft. 
Moreover for sure not in this forum for api's components and classes for the user interface Windows Forms
Try direct the SAP community for Crystal reports for .Net
http://scn.sap.com/community/crystal-reports
Success
Cor

Similar Messages

  • How to set sourceURL for MS Access database in other computer?

    How to set sourceURL for MS Access database in other computer?
    getConnection("jdbc:odbc://www.micrsoft.com:9999/msaccess");
    How do you determine the port for the MS Access?
    Thank you very much.

    How to set sourceURL for MS Access database in other computer?You don't.
    How do you determine the port for the MS Access?You don't.
    Databases like Oracle and MS SQL Server have 'server' software which runs on a server computer. Requests talk to that server software. MS Access does not have a server, so there is nothing to talk to.
    You either must use a DSN or create you own server. For the DSN each client must have a mapped driver to the computer with the database. For your own server search the Sun site for JDBC drivers or use RmiJdbc (http://www.objectweb.org/)

  • How to set display size of a Region or Dynamic Region?

    Hi,experts,
    In jdev 11.1.2.3,
    I drag and drop a task-flow into a jsf page to create a Region,
    and set display size for the region, source code as:
    ===================
    <f:facet name="second">
    <af:decorativeBox theme="medium" id="db1">
    <f:facet name="center">
    <af:panelGroupLayout layout="scroll" id="pgl1"
    inlineStyle="width:1200px;height:700px;">
    <af:region value="#{bindings.trainflow11.regionModel}" id="r1"
    inlineStyle="width:1200px;height:700px;"/>
    </af:panelGroupLayout>
    </f:facet>
    </af:decorativeBox>
    </f:facet>
    =================
    But, the Region is only showed a small fraction area on the parent jsf page whenever during design or run time.
    How to set display size of a Region or Dynamic Region?
    Thanks!

    Hi,
    the decorative box is supposed to stretch components in the center facet, so at runtime the region should stretch. Can you try with a static region to see if this is an issue with dynamic regions?
    Frank

  • I'm about to transfer the contents of my existing HDD in my (dead PSU) iMac to another computer. I'm just wanting to know if and how I will be able to access my files and documents from the old hard drive once I've made the backup?

    I'm about to transfer the contents of my existing HDD in my (dead PSU) iMac to another computer. I'm just wanting to know if and how I will be able to access my files and documents from the old hard drive once I've made the backup?

    You are not going to be able to run your old system from the backup on this old computer as the hardware is incompatible.
    You need to get a new computer or a refurbished one.

  • Accessing trend line formula in Crystal Report

    I am using Crystal Reports 8.5 and CR2008.  I have a report showing a trend line (specifically the quadratic regression).  I can show the formula that is being used for the report in the chart.  How can I access the regression formula in Crystal Reports?
    Thank you for your help.

    hi James,
    in short you can't...the charting engine is a separate 3rd party dll so what you see there is not necessarily available in the rest of cr in summaries etc.
    in order to do things like this, you either have to do the calcs on your database or using formulas. i've attached an example of linear regression that i did a while ago. change the .txt extension to .rpt after you extract the contents. sorry, there are no instructions on how to do this.
    on the attached sample though it does figure out the regression formula and also extrapolate data, show residuals etc.   there are a couple of other "fits" in a parameter but i never finished those as it made my head hurt
    -jamie

  • How to change the path of an Access .mdb file @ runtime in Visual Studio 2012

    Hello,
      I'm hoping my question is simple enough to merit a quick answer.  I will lay out the details:
      I am writing a WindowsForms App in VB 2012.  I have a Crystal Report that points to an Access .mdb at design time in order to get the proper structure and layout correctly.
      However, during runtime, I need to point to a completely different .mdb file with the same identical structure.  How do I do this?  I've tried everything I could find on the net with no success and mostly because the answers are for C programmers.  I mean, I can pretty much decipher it, but have gotten zero results.
      Thank you for your time.
    -Mike

    ok. The code needs some small modifications.
    I gave it a quick try and here is the InProc RAS SDK code which works for me. Add the assembly references to the app for all those assemblies used in the 'imports' statements in the code.
    Imports CrystalDecisions.ReportAppServer.ClientDoc
    Imports CrystalDecisions.ReportAppServer.DataDefModel
    Imports CrystalDecisions.ReportAppServer.ReportDefModel
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Web
    Imports CrystalDecisions.Shared
    Partial Class _Default
        Inherits System.Web.UI.Page
        Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            Dim ClientDoc As ISCDClientDocument
            Dim logonPb As New CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag()
            Dim table_Old As New CrystalDecisions.ReportAppServer.DataDefModel.Table()
            Dim table_New As New CrystalDecisions.ReportAppServer.DataDefModel.Table()
            'Open the report object to initialize the ReportClientDocument
            Dim rd As New CrystalDecisions.CrystalReports.Engine.ReportDocument()
            rd.Load("C:\Users\Administrator\Desktop\Report1.rpt")
            ClientDoc = rd.ReportClientDocument()
            table_old = ClientDoc.Database.Tables(0)
            'Clone the original table in the report
            table_new = table_old.Clone(True)
            ' Get the connection information from the report document for the first table in the collection.
            logonPb = table_new.ConnectionInfo.Attributes("QE_LogonProperties")
    'set the path for new mdb
            logonPb.Item("Database Name") = "C:\Users\Administrator\Desktop\New folder\efashion1.mdb"
            ' Set a new table for the report, set the old table to the new one.
            ClientDoc.DatabaseController.SetTableLocation(table_old, table_new)
            'view the report
            CrystalReportViewer1.ReportSource = rd
        End Sub
    End Class
    Hope this clears the doubts

  • How to set path in linux?

    Hi,
    I tried to compile a form in linux.
    I use the following command:
    export LD_LIBRARY_PATH=/u0/oracle/prodora/8.0.6/lib
    f60gen module=/u0/oracle/prodappl/ar/11.5.0/forms/US/TESTFORM.fmb USERID=apps/****
    An fmx is generated. But during compile it also give the following message:
    FRM-18108: Failed to load the following objects.
    Source Module:TEMPLATE.fmb
    Source Object: FRAME_HORZ_LINE
    Source Module:TEMPLATE.fmb
    Source Object: FRAME_RECT
    Source Module:APPSTAND
    Source Object: STANDARD_PC_AND_VA
    Source Module:APPSTAND
    Source Object: STANDARD_TOOLBAR
    Source Module:APPSTAND
    Source Object: STANDARD_CALENDAR
    I suppose it because it cannot found template.fmb and appstand.fmb.
    How do I include the path to this files? For example the path is this: /u0/oracle/prodappl/ar/11.5.0/forms/US
    Can I add it using the "export LD_LIBRARY_PATH" command?
    What is the syntax for multiple path for the "export LD_LIBRARY_PATH"?
    I cannot execute it one after the other as it seems the later overwrite the former.
    Thank you
    Jim

    I do:
    export FORMS_PATH=/u01/app/oracle/product/apps/your_source Will it overwrite any path in the FORMS_PATH, or will it add into it? Or is it not permanent?
    this is not permanent solution,your just setting path.
    Refer metalink note
    What is Difference between the Forms_path and the working directory? [ID 551511.1
    Edited by: Amigo on Dec 22, 2010 1:20 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to set Path on windows 98

    Hello!
    sorry for my bit knowledge on Java first.
    I am having a hard time to set a path in my windows 98.
    First, I did instal Java 2SDK version 1.4.0
    Then, I download j2EE RI server and documentation from sun's J2EE download site
    Then, I run the installer for both the J2EE and documentation
    then I did put these �set� command in a bat file.
    set JAVA_HOME = C:\j2sdk1.4.0
    set J2EE_HOME=C:\j2sdkee1.3.1
    set ANT_HOME=C:\ant\apache-ant-1.5.3.1
    set PATH=%PATH%;%JAVA_HOME%\bin;%ANT_HOME%\bin;%J2EE_HOME%\bin
    My last step was to check all logging output to the current shell. So I went to the command line and type j2ee -verbose. However I got the following error message.
    Microsoft(R) Windows 98
    (C)Copyright Microsoft Corp 1981-1999.
    C:\WINDOWS\Desktop>j2ee -verbose
    Bad command or file name
    can you please help me how to correct this. I don't know DOS much so I may type something wrong.
    any help is appreciated.
    Kimbra

    Yes, I ran into the same problem on my Win 98 laptop. I used the exact same set command, but the problem was, it seems than Windows 98 forgets the set command after a shutdown/reboot.
    Go into your autoexec.bat file (should be in your C:\ drive, as in C:\autoexec.bat, or I think you can type sysedit into the Run prompt (Start > Run) ) and then type in:
    PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\j2sdk1.4.0\bin;
    That worked for my laptop; I was able to run the javac and java programs in any directory, without referencing the full directory path each time.
    Sorry, but I can't help you on the apache problem, although I suspect all you need you do is add that directory path onto the above line.

  • How to set path to jar file (classes)?

    hi,
    i have a java program which uses a jar file (lots of classes). so, i run them all in eclipse but i want to run it on a command line, like through cmd from run.
    the classes are found in a different folder, and the code snippet is found in another folder. so where or how to set the path to the jar file?

    Write
    c:/java -?
    you can use the -cp pption to use your jar file or a folder with classes.
    java -cp jar1.jar myclass.class

  • Install jdk into WinME, how to set path?

    I just install WinME for my pc! However, the method to set path in WinME is different with Win98! I set the path in Win98 by using 'sysedit', however, WinME haven't got 'sysedit', then i tried to set path in 'msconfig'! But, it only allows us to set one path, how should i add one more paths?
    i can't run javac, it said msvcrt.dll has problem!
    what happen?
    I can set path in Win98 but winME is different.
    thank you

    Windows ME - To set the PATH permanently:
    From the start menu, choose programs, accessories, system tools, and system information. This brings up a window titled "Microsoft Help and Support". From here, choose the tools menu, then select the system configuration utility. Click the environment tab, select PATH and press the edit button. Now add the SDK ( e.g C:\j2sdk1.4.0-beta3\bin)to your path by Looking for the PATH statement. (If you don't have one, add one.) If you're not sure where to add the path, add it to the right end of the PATH.
    After you've added the location of the SDK to your PATH, save the changes and reboot your machine when prompted.
    hope this help

  • How to set WNDR4000 as an access point using Linksys EA8500

    New member.I have looked through the messages and found quite a few on access points but either I don't understand them or the topic is not the same.I had a Netgear R7000 which died and I now have a Linksys EA8500. I am getting good speed through it and am on Comcast cable.The WDNR4000 was set up as a access point on my Netgear and worked fine. It is hard wired to my router through a switch.I can see it on my Linksys network but can't understand how to allow it as an access point / internet access. I can connect a device to the WNDR4000 but there is no internet.I have the MAC address for the WNDR4000. Thanks in advance to the group. rick

    Thanks again.Here are more details.My Linksys router's IP is 192.168.1.1. No problem logging in to it.IP range is 192.168.1.100 192.168.1.14950 max connectionsNo static DNSNetgear AP is 192.168.1.100 and it is static.(I can change the range per other reply to start at 101) NAT is enabledDynamic routing not enabledNo static routingVLan off Internet settingsDHCP auto configOptional Name: badMTU > AutoMac Address Clone: not enabled Cable info:Linksys router - port 4 connected to my Airlink 101 1000M switch. Airlink 101 > plugged into port 15 x 10/100/1000Mbps Auto MDI/MDI-X Gigabit Ethernet portNetgear WNDR400 > plugged into Internet port When I try to connect to the Netgear using 192.3168.1.100 it cannot connect.Not Found > Web Server at airlink101.comI may need to connect the netgear directly to my laptop and try to access its UI. As I mentioned it shows up in my Network on the Linksys. I was able to connect a laptop wirelessly to it but it has no internet. I hope this helps.thanks againrick  

  • How to set path to run a Java program?

    my pc os is win2000 service pack 3.
    cpu is celoron 667mhz
    256 pc133 sdram
    i have done the setting b4 run a java program but no any effect.
    setting as below:
    set path=c:\j2sdk1.4.1_01\bin
    set classpath=c:\j2sdk1.4.1_01\lib
    my java file is store in C:\Java, file name is HelloWorld.java, so when i type:
    C:\>
    C:\>Java\javac HelloWorld.java
    (the screen show me : java\javac not internal or external........")
    and i try again as follow:
    C:>
    C:>\Java>javac HelloWorld.java
    (the screen show : Exception in thread "main" java.lang.NoClassDefFoundError:HelloWorld/java)
    i cant do anymore, who can help me?

    you need to put the CLASSPATH to dir: c:\j2sdk1.4.1_01
    and also to the directory you are working
    For example, you are working in "C:\Myclasses". You need to put:
    set CLASSPATH = C:\j2sk1.4.1_01;C:\Myclasses;
    if you don't put your working directory, java doesn't find your classes
    Try it and luck!

  • How to set Path for a properties file

    Hi,
    I am using a SQL.properties file to load all my SQL statements to my EJB JDBC prepared Statement. I have placed the SQL.properties file in com.company.sql package. I have another SQL class in the same package which is loading the SQL.properties file to cache for future use. I am using the path as "SQL.properties" (the file name straight ) in the SQL class to access the properties file.
    I am using Sun App Server 7. To get access to this file I need to copy the SQL.properties file to the config directory of the app server instance. Otherwise it is not able to locate the file. I don't want to put the properties file in the config directory of the app server instance. Please help me, what path I have to give to access the file from the package itself, rather from the config directory of server instance.
    I think , some one who is doing localization can help me out here. They have to put the localized properties file to access the text out of it. Please help me. Thanks in advance.
    Thanks
    Amit

    I am using the propeties file to get the SQL statements. I have all the SQL query statement in the properties file. I am creating a preparedstatement after getting the statement from the properties file with the id like we do in ResourceBundle. If I keep the properties file in the config directory of the Sun App Server instance , then it is working fine. But If I don't keep it there, then it is giving me a file not found exception.
    My SQL class which is accessing the properties file are in same package (com.company.sql). But still it is not able to find the file. As suggested by you, I tried it by giving the path as com.company.sql.SQL. Still it did not found the file. The file is there inside the WEB-INF/classess/com/company/sql/.
    Thanks
    Amit

  • How to set the classpath for external .jar files after importing?

    Hi techs,
    How to set the classpath in WSAD5.1.2 after importing the .jar file to the WEB-INF/lib folder.
    urgent

    I got it.
    after importing the jar file to the perspective,we need to right click on project name, go to proprties,
    goto java build path,
    there we need to include the external jar files.

  • How to set the source property of image control dynamically?

    Hi,
      I have different fxg files which I want to display in a list. For each row in the List, I define which fxg file to be displayed in my database.
    I need to know how to set the image1.source = (the fxg path) as a string from database?
    Is there any conversion needed in this case? If so, can you please help me how to do this?

    Hi,
      Thank you for your response. I am new to Adobe Flash Builder, Flex and action script. I don't get your answer straight away.
    What I basically need is, I need to set image1.source = strFXG. Right now, this does not show the image. I don't understand fxgObject.pathid.source => how to give this?
    Moreover, when I did google search, there is somethink like fxg converter which converts the fxg to a component. I thought this is a very simple problem on how to convert the fxg string to an object format. But now, it looks like it might be a big problem. Can anyone help me in this?
    import spark.components.Image;
                                  protected function view1_creationCompleteHandler(event:FlexEvent):void
      // TODO Auto-generated method stub
      var strFXG:String = 'assets.DB_Actief_Graphics';
                                            var image1:Image = new Image();
                                            image1.x = 100;
                                            image1.y = 100;
                                            image1.source = strFXG;
                                            addElement(image1);
    Regards,
    Chella

Maybe you are looking for

  • Macbook Pro Hard Drive Failure?

    Ok so about 2 days ago my mid-2012 i5 macbook froze on me and I had to do a hard reboot. Only thing was that instead of the usual apple logo during bootup, it was a circle with a slash through it. tried rebooting it a few more times, no luck. booted

  • Mouse wrangling, can the mouse be confined to an area of a swf

    I want to be able to make the mouse only able to move around on part of the stage namely the bottom 75px. So I want ot to be able to move 100% on the X axis but I want to restrict the movement along the y axis. Is there a way to do this without using

  • Is it possible to pass a javabean as an href parameter

    Hi I have a JSP where I receive a javabean in the request scope. Is it possible to create a html link passing the object as a parameter to another jsp Pls advise TIA

  • Site transport in SAP Retail

    Hi, When is a transport required for sites in SAP Retail? Is it triggerd for all changes in the site? Is it triggered for changes in also in customer/vendor master data? Sometimes I get a transport request and sometimes not... Thanks, Torkel

  • Apple iPhone 5 battery stopped working

    I left my iphone 5 on the window seal and the battery has overheated and stopped working. But when i plug it into computer it comes up itunes and thats it Is this covered by apple hardware warranty,