Question: Deploying CR Application programs with databases

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ann Marinas

    #1

    Question: Deploying CR Application programs with databases

    Hi All!

    I am developing an application program that uses Crystal Reports for VS.NET.

    I was testing the project the other day, installing the program to another
    computer. My windows form is running ok, but whenever I access the Crystal
    Report viewer, I keep on getting a dialog box that searches for my database.
    In my pc, it works fine, but on others, it keeps searching for the database.

    Here are my questions:
    1. How can I dynamically connect my report to a database, say an Access
    database?
    2. Will dynamically connecting to a database affect the fields on my report?
    3. I saw an unbound field in the Field Explorer. What does it do and how do
    you use it?

    I really do appreciate your help!

    Regards,
    A


  • Ann Marinas

    #2
    Re: Question: Deploying CR Application programs with databases


    "Ann Marinas" <ann_marinas@xt ra.co.nz> wrote in message
    news:%2331QdkZn DHA.2312@TK2MSF TNGP12.phx.gbl. ..[color=blue]
    > Hi All!
    >
    > I am developing an application program that uses Crystal Reports for[/color]
    VS.NET.[color=blue]
    >
    > I was testing the project the other day, installing the program to another
    > computer. My windows form is running ok, but whenever I access the Crystal
    > Report viewer, I keep on getting a dialog box that searches for my[/color]
    database.[color=blue]
    > In my pc, it works fine, but on others, it keeps searching for the[/color]
    database.[color=blue]
    >
    > Here are my questions:
    > 1. How can I dynamically connect my report to a database, say an Access
    > database?
    > 2. Will dynamically connecting to a database affect the fields on my[/color]
    report?[color=blue]
    > 3. I saw an unbound field in the Field Explorer. What does it do and how[/color]
    do[color=blue]
    > you use it?
    >
    > I really do appreciate your help!
    >
    > Regards,
    > A
    >
    >[/color]


    Comment

    • Elvin Ng

      #3
      Re: Question: Deploying CR Application programs with databases

      1. Yes, you can, in fact it is better to do it that way.
      2. As long as the DBs are the same
      3. Don't really understand the question. Unused fields are not being query
      from the DB and do nothing. If you want to use it, just put it in your
      report or use it in a formula or something.

      The below link might help you on setting the connection, though the exact
      method might differ (we have so many versions of CR and different languages
      to use it, ie VC, VB, C#, etc). You can probably find other URLs that touch
      on this on the web.



      HTH
      elvin

      "Ann Marinas" <ann_marinas@xt ra.co.nz> wrote in message
      news:OYtZQKanDH A.1948@TK2MSFTN GP12.phx.gbl...[color=blue]
      >
      > "Ann Marinas" <ann_marinas@xt ra.co.nz> wrote in message
      > news:%2331QdkZn DHA.2312@TK2MSF TNGP12.phx.gbl. ..[color=green]
      > > Hi All!
      > >
      > > I am developing an application program that uses Crystal Reports for[/color]
      > VS.NET.[color=green]
      > >
      > > I was testing the project the other day, installing the program to[/color][/color]
      another[color=blue][color=green]
      > > computer. My windows form is running ok, but whenever I access the[/color][/color]
      Crystal[color=blue][color=green]
      > > Report viewer, I keep on getting a dialog box that searches for my[/color]
      > database.[color=green]
      > > In my pc, it works fine, but on others, it keeps searching for the[/color]
      > database.[color=green]
      > >
      > > Here are my questions:
      > > 1. How can I dynamically connect my report to a database, say an Access
      > > database?
      > > 2. Will dynamically connecting to a database affect the fields on my[/color]
      > report?[color=green]
      > > 3. I saw an unbound field in the Field Explorer. What does it do and how[/color]
      > do[color=green]
      > > you use it?
      > >
      > > I really do appreciate your help!
      > >
      > > Regards,
      > > A
      > >
      > >[/color]
      >
      >[/color]


      Comment

      • Ann Marinas

        #4
        Re: Question: Deploying CR Application programs with databases

        Thanks all for the help! I really do appreciate it! :D
        "Ann Marinas" <ann_marinas@xt ra.co.nz> wrote in message
        news:%2331QdkZn DHA.2312@TK2MSF TNGP12.phx.gbl. ..[color=blue]
        > Hi All!
        >
        > I am developing an application program that uses Crystal Reports for[/color]
        VS.NET.[color=blue]
        >
        > I was testing the project the other day, installing the program to another
        > computer. My windows form is running ok, but whenever I access the Crystal
        > Report viewer, I keep on getting a dialog box that searches for my[/color]
        database.[color=blue]
        > In my pc, it works fine, but on others, it keeps searching for the[/color]
        database.[color=blue]
        >
        > Here are my questions:
        > 1. How can I dynamically connect my report to a database, say an Access
        > database?
        > 2. Will dynamically connecting to a database affect the fields on my[/color]
        report?[color=blue]
        > 3. I saw an unbound field in the Field Explorer. What does it do and how[/color]
        do[color=blue]
        > you use it?
        >
        > I really do appreciate your help!
        >
        > Regards,
        > A
        >
        >[/color]


        Comment

        Working...