943,681 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Unsolved
  • Views: 2389
  • VB.NET RSS
Sep 10th, 2007
0

query insertion in vb.net

Expand Post »
hi every one:
I have binded some data which I have connected through DATA BASE wizard of OLeDB in a comboBOX AND now i want to add queries to select distict values . i have entered the query
select DISTINCT[name of my field] from table_name

but I get the following error while clicking the OK botton
"theschema returned by the new query differs from the base query"

any idea to help me.?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
apchidara is offline Offline
18 posts
since Aug 2007
Sep 11th, 2007
0

Re: query insertion in vb.net

Quote ...
select DISTINCT[name of my field] from table_name
the reason is this query differ from the orginal one . The name of my field must be the same in all queries
Reputation Points: 37
Solved Threads: 17
Junior Poster
manal is offline Offline
122 posts
since Mar 2006
Sep 13th, 2007
0

Re: query insertion in vb.net

Hello apchidara...

if u could put the QUERY CODES dat u use in ur program maybe i could determine what problem u have.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
YHUBZ is offline Offline
7 posts
since Sep 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: what's the error...??
Next Thread in VB.NET Forum Timeline: FindWindow Problem





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC