Multiple-step OLEDB operation generated errors

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vbbeginner07
    New Member
    • Dec 2007
    • 103

    Multiple-step OLEDB operation generated errors

    Multiple-step OLEDB operation generated errors.Check each OLE DB status value,if available.No work was done



    what i ahve to check?

    And the code is
    (VB)
    rs.Open "select distinct empdetail.name, saldetail.id from empdetail,salde tail where saldetail.id = empdetail.id", conn, adOpenStatic, adLockOptimisti c

    PLS Help,thanks in advance
  • QVeen72
    Recognized Expert Top Contributor
    • Oct 2006
    • 1445

    #2
    Hi,

    Datatype for ID field in Both tables should be same..
    example: In one table, the fieldtype is Numeric and in another it must be text..

    Regards
    Veena

    Comment

    Working...