Search:

Type: Posts; User: sgarv

Search: Search took 0.01 seconds.

  1. Re: VB6/CR9: Getting "Unknown query engine error"

    I saw the code snippet that you referenced, specifically



    Dim crDBTab As CRAXDRT.DatabaseTable

    For Each crDBTab In crReport.Database.Tables
    crDBTab.SetLogOnInfo strSrv, strDB,...
  2. Re: VB6/CR9: Getting "Unknown query engine error"

    Thanks JG. This issue has been a challenge. Although the workaround of passing the client data to the report works I would like to find amore proper solution as this will tell me what "invalid"...
  3. Replies
    3
    Views
    323

    Re: Use of SetTableLocation for CR9

    Thanks JG. I'll test the code snippet that you referenced and post a follow up. Regards, SGarv
  4. Re: VB6/CR9: Getting "Unknown query engine error"

    As an update. I was not able to resolve this issue. As best as I could conclude, the problem arises when the report internally uses a table that points to a specific server, but the log on...
  5. Replies
    3
    Views
    323

    Re: Use of SetTableLocation for CR9

    As a follow up to my initial post I'll add that I was unable to resolve the issue. I found no way to specify the same server/database for the table used within the report and the data source that I...
  6. Re: How to use vb6 recordset loop in crystal reports?

    Here is one possible way to do it. Please note that this code is untested, as I do not have the tables and data that you have. I am sure that you can adapt and debug it to your needs.

    From the...
  7. Re: How to use vb6 recordset loop in crystal reports?

    The short answer to your question whether you can do this without the intermediary temp table is Yes, you can :-)

    I have some remarks about your code. I hope you are not bothered by them.

    The...
  8. Replies
    3
    Views
    323

    Use of SetTableLocation for CR9

    Hi all,
    I have yet another question. I have been struggling to get a report which contains two identical subreports to work. CR9 was producing an internal query engine error. I determined that this...
  9. Replies
    6
    Views
    416

    Re: Crystal Reportviewer in Modal Form

    Here is another way:

    http://www.xtremevbtalk.com/archive/index.php/t-203255.html

    If using VB6 the App object has a PrevInstance property. I seem to recall that this method did not work for...
  10. Replies
    6
    Views
    416

    Re: Crystal Reportviewer in Modal Form

    If I understand correctly, what you are saying is that the "modal" form displays, but you are still able to open/close/use other applications that are installed on your computer.

    If so, this is...
  11. VB6/CR9: Getting "Unknown query engine error"

    Hi all,

    I was charged with getting an old report to work when the database was moved to the new database servers. I documented everything in this post:
    ...
  12. Replies
    2
    Views
    557

    Re: Request help with CR9 report

    Again, thanks to all that took the time to read the original post. After much research and experimentation I can say that I resolved all the problems I had. The solutions are documented here for...
  13. Replies
    2
    Views
    557

    Re: Request help with CR9 report

    Follow up. One small step...

    I did more research and found various options. One item where I had doubt was the connection information for the report. To see what I had in there I added this code
    ...
  14. Replies
    2
    Views
    557

    [RESOLVED] Request help with CR9 report

    Hi all. Thank you for taking a look at this. I apologize for the sheer size of the post. I tried to keep it as short as I could. I inherited a legacy report built using CR9. An application written in...
  15. Replies
    4
    Views
    256

    Re: Need Your Inputs in Devoping Small App

    I Googled putty scripting and got a few results. Perhaps one of them can help achieve what you are trying to do. Regards
  16. Replies
    10
    Views
    4,460

    Re: simple way to clear a collection in VB6?

    Understood. I thought this was in reference to VB6. Sgarv
  17. Replies
    18
    Views
    690

    Re: Mscomm1.output problem

    No, like this:




    'Way at top of code module of form.
    Option Explicit

    'Form's (or module's) declaration section
    Private intCount As Integer
  18. Replies
    10
    Views
    4,460

    Re: simple way to clear a collection in VB6?

    For posterity?



    Dim colNXS as Collection


    set colNXS = new collection

    'Work with collection
  19. Replies
    7
    Views
    329

    Re: Code!!!

    Does LIKE work with numeric fields? If I recall, LIKE is for matching text fields.

    Regards, SGarv
  20. Replies
    18
    Views
    690

    Re: Mscomm1.output problem

    There are ways to create a delay, I can think of two:

    The old brute force method:

    Dim dateFut as date


    Mscomm1.output = chr(2) & "C_1" & chr(3) & chr(2) & "P_1" & chr(3) & chr(2) & "X_1" &...
  21. Replies
    4
    Views
    241

    Re: little problem

    I had a look at your code and it is somewhat complex. Let me ask you a few questions to try and break down the issues that you are having.

    1. From looking at the form that you sent, I assume that...
  22. Replies
    12
    Views
    703

    Re: Using OptionButtons correctly

    Change dim ss as string to dim ss as integer


    Change

    If FExist(path) Then
    Open path For Output As #ss

    to
  23. Replies
    19
    Views
    3,904

    Re: Microsoft Forms 2.0 Object Library

    Just as a quick note. the FM20*.dll is not freely redistributable with our applications. The only way to do this correctly is to first (download and) install the ActiveX Control Pad and then the...
  24. Replies
    2
    Views
    161

    Re: Help Fix,Int,Round?

    Using the immediate window I get:

    ? int(23.214)
    23

    ? int(-23.214)
    -24

    If you need your result to be positive (absolute number) then use abs() function to get final result:
  25. Replies
    0
    Views
    204

    [RESOLVED] MSComm madness, need eyes

    Hi all,

    I just joined this forum and this is my first post. I consider myself experienced in VB6, but I have a problem which is driving me up the wall and I ask for Other Eyes to have a look and...
Results 1 to 25 of 25