Results 1 to 3 of 3

Thread: Problem2: How to close the DSN connection window when using Data Report

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2003
    Posts
    17

    Problem2: How to close the DSN connection window when using Data Report

    I don't know why the DSN connection window will automatically show up when I using Data Report. Is there any way to close it or disable it, so that it will not pop up to trouble me again.

    I attached the picture of this pop up window also.
    Attached Images Attached Images  
    Mr.Dave

  2. #2
    Frenzied Member mxnmx's Avatar
    Join Date
    Dec 2001
    Location
    I'm back...now!!!
    Posts
    1,396
    Post your code snippet where you are loading the data report.
    Can't Remember Birthdays or Important Dates- Never Miss any Important Date(s)

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Feb 2003
    Posts
    17
    szSql = "select contract, DueDate, Amount, Cname, Csur From contract, ar_sub, customer where contract.custid = customer.custid and contract.contractno = ar_sub.contractno and "
    szSql = szSql & "ar_sub.subid like '" & SubID & "' and "
    szSql = szSql & "month(duedate) like '" & m & "' and "
    szSql = szSql & "year(duedate) like '" & Year(Date) & "' "

    Invoice.Sections("section2").Controls("lblSub").Caption = Sname
    DE.Commands("Invoice").CommandText = szSql
    Invoice.Show
    Set Invoice = Nothing
    Set DE = Nothing
    Mr.Dave

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