954,557 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

ADODB Shape Command ERROR

What's wrong with the code, pls help:

setCon adoJOReport
adoJOReport.RecordSource = "Shape{Select SUM(Cost) as SC,SUM(Price) as SP,Brand From Temp_JOMaster Where JoNumber='" & txtJO.Text & "'Group by Brand} " _
& "Append ({Select * From Temp_JOMaster " _
& "Where JOnumber='" & txtJO.Text & "'} Relate Brand To Brand) As Command2"
adoJOReport.Refresh

Any help will be greatly appreciated.

Capritarius21
Newbie Poster
20 posts since Jan 2010
Reputation Points: 15
Solved Threads: 4
 

To be specific, the error was:

DATAFIELD '(EMPTY)' NOT FOUND

This error occur when I try to open the DataReport
generated by my shape command stated above.

Capritarius21
Newbie Poster
20 posts since Jan 2010
Reputation Points: 15
Solved Threads: 4
 

Already solved the problem, ahehe!

It's just that I put report textbox in my DataReport
that is not included in my flooding code.

Capritarius21
Newbie Poster
20 posts since Jan 2010
Reputation Points: 15
Solved Threads: 4
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: