Results 1 to 40 of 90

Thread: VB6 Compile Error

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2022
    Posts
    77

    VB6 Compile Error

    When attempting to make an exe file I receive a compile error.

    Code:
    If datSetDisplay1.Recordset.EOF And datSetDisplay1.Recordset.BOF Then
        datSetDisplay1.Recordset.Close
        pbarReport.Value = 0
        rtbReports.Text = Chr(13) & "                                DATA ERROR:   LETTERARCHIVE TABLE EMPTY OR NOT FOUND."
        Exit Sub
    In the third line the ".Value = " is highlighted.

    This isn't my program but I'm trying to make a change to a form. This project built the source file and output files fine, but ran into this issue when attempting to make the exe file.

    If I tell the program to ignore this line, then the same issue appears further down the code.
    Please advise. Help is appreciated.
    Last edited by dday9; Jan 27th, 2022 at 03:22 PM. Reason: formatted code

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