Consulting

Results 1 to 7 of 7

Thread: VBA-SQL Server connection problem...

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    VBAX Sage SamT's Avatar
    Joined
    Oct 2006
    Location
    Near Columbia
    Posts
    7,710
    Location
    You posted the problem.
    I made suggestions.
    You asked a question.
    I answered the question.
    I have no new information regarding your problem, therefore, I have no new suggestions.
    I expect the student to do their homework and find all the errrors I leeve in.


    Please take the time to read the Forum FAQ

  2. #2
    VBAX Regular
    Joined
    Feb 2016
    Posts
    17
    Location

    New problem..

    Hi,

    I have solved the problem by setting sql_string="string" , and now if you look atthe photos I attached earlier it can explain why it worked, but nowno debug at the step "rs.Open Sql, conn" as it went through this step, rather the debug happens at the step"If Not rs.EOF Then" and the error is attached, can you help please? i am not able to figure out what the problem is?

    Thanks
    Samo

    VBA-ERROS1.PNG
    Last edited by SamT; 02-24-2016 at 04:49 PM.

Posting Permissions

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