Solved

VB.Net

Posted on 2007-11-16
1
436 Views
Last Modified: 2010-05-18
I am using VB.NET (2003) and Access (2003). I have a complex query that works perfectly if I run it within Access. But if I move it into my VB project, it fails to return the last 10 or so records I added. I added a condition to the query that cut the expected results in half, but the missing records are still missing. I have used this SQL code in my VB app for many months without a problem. I have gone so far as to copy the SQL query from the debugger window while running my app and pasting it into Access. The app still misses records; Access query works perfectly. Any thoughts. Thank you.
0
Comment
Question by:askanyquestions123
1 Comment
 
LVL 5

Accepted Solution

by:
administradores earned 250 total points
ID: 20303716
Make sure you are working with the same database in access and VB, once it happen to me that the db file wasn't the same and went crazy.

Or if you can paste the connection string.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now