Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. crystal reports- setlogoninfo

crystal reports- setlogoninfo

Scheduled Pinned Locked Moved C / C++ / MFC
databasequestionsql-serversysadminannouncement
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    namratab
    wrote on last edited by
    #1

    hello, I am building an application in VC 6wherein when the user clicks ona particular button, a query is fired to SQL SErver 2000 database and a report (crystal reports 8.5) is generated based on the data retrieved. I am having multiple clients which connect to the SQL server remotely. so while retrieving, i will need to specify the IP of the machine where the DB is stored. I have heard of a function callled SetLogonInfo which allows a user to change the databse name on the fly. But when I add an Active X control to my app, the version of SetLogonInfo takes only 2 parameters...."void SetLogonInfo(short index, LPCTSTR lpszNewValue); ...instead of 4 which i have seen in most standard implementations. Could you please give me more details regarding this function and how do I connect remotely for crystal reports? What is the code that i need to include in this function? Awating Your Reply Thank You

    V 1 Reply Last reply
    0
    • N namratab

      hello, I am building an application in VC 6wherein when the user clicks ona particular button, a query is fired to SQL SErver 2000 database and a report (crystal reports 8.5) is generated based on the data retrieved. I am having multiple clients which connect to the SQL server remotely. so while retrieving, i will need to specify the IP of the machine where the DB is stored. I have heard of a function callled SetLogonInfo which allows a user to change the databse name on the fly. But when I add an Active X control to my app, the version of SetLogonInfo takes only 2 parameters...."void SetLogonInfo(short index, LPCTSTR lpszNewValue); ...instead of 4 which i have seen in most standard implementations. Could you please give me more details regarding this function and how do I connect remotely for crystal reports? What is the code that i need to include in this function? Awating Your Reply Thank You

      V Offline
      V Offline
      Vinod Sankaranarayanan
      wrote on last edited by
      #2

      hi, I think your problem lies in your code itself.. Whether u are using RDC ( Report designer Component ) to connect ur datasource ? Anyway , download "cr_rdc_dbconnectivity.pdf" from Business Objects website. support.businessobjects.com/communitycs/technicalpapers/cr_rdc_dbconnectivity.pdf You can find more info abt CR 8.5 from this website.. Regs,

      vinsankar

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups