?
Solved

VB.Net

Posted on 2007-11-16
1
Medium Priority
?
443 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 5

Accepted Solution

by:
administradores earned 500 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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

752 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