Results 1 to 3 of 3

Thread: Printing With Crystal ( using VB6

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2007
    Posts
    1

    Thumbs up Printing With Crystal ( using VB6

    Hi Guys

    I have a problem.I have to select some records in VB6 using formulas to pass them value to Crystal Reports 9 but I don't know why.

    Have you got a an example to show me.

    In VB6 with CR7 i usually do this way.

    strFormula = ""
    strFormula = " {PROCESSOS.PROC_STATUSPAG}=" & 0
    strFormula = strFormula & " AND {PROCESSOS.STATUS_ID} <>" & 9
    strFormula = strFormula & " AND {PROCESSOS.PROC_INVNUM}='" & "" & "'"

    Form.crystal.ReplaceSelectionFormula strFormula

    FrmPrincipal.CstRelatorio.Connect = "DSN=3RD;uid=" & strUsuario & ";pwd=" & strSenha & ";dsq=" & strBanco

    FrmPrincipal.CstRelatorio.Action = 1


    I dont't know how to do this using VB6 with CR9.

    Can you help me please?

  2. #2
    Frenzied Member
    Join Date
    Aug 2006
    Location
    India, Punjab, Bhatinda
    Posts
    1,689

    Re: Printing With Crystal ( using VB6

    welcome to The Forums. I believe you are in wrong forum.
    Cant you simply make a query from vb and pass it to CR9 SQLqueryString?

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Printing With Crystal ( using VB6

    Moved From FAQ Section

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width