Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 22nd, 2004, 03:52 AM
Registered User
Join Date: Apr 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Data truncated error message - why?

Hi all,

I'm using Microsoft Visual C++ 6 professional. I'm trying to write a database program using the MFC AppWizard to access a Microsoft Access (.mdb) database using ODBC. Some databases allow me to access their tables with no problem (that is when I'm executing the program via Visual C++), and, some other databases, when scanning through the record sets, give me a popup message saying 'Data truncated.'

Could it be that when the database file is too big I'm getting the error message as a bug and should use something like MS SQL Server (i.e. something more prone to handling larger database files)? Or is their a potential conflict with the 'newer' database files (Microsoft Access .mdb files) being run under an older Visual C++?

Thanks for any help.


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the error message for a 500 server error? chobo2 C# 2005 1 May 4th, 2008 03:11 AM
data type error message Vince_421 Access VBA 3 June 11th, 2007 06:50 AM
String or binary data would be truncated spiffyaldo2 ASP.NET 1.0 and 1.1 Basics 1 March 21st, 2006 08:49 AM
String or binary data would be truncated. Cinderella Classic ASP Basics 3 June 5th, 2004 04:36 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.