Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: CR2008 can't find field Post Reply Post New Topic
Author Message
kimt
Newbie
Newbie
Avatar

Joined: 06 Oct 2009
Online Status: Offline
Posts: 39
Quote kimt Replybullet Topic: CR2008 can't find field
    Posted: 01 Aug 2013 at 1:24am
Using cr2008 v12 with vs2008 and an access db. This select statement works in Access but cr2008 says failed to retrieve data from db Error Code 0x80040e10. Those that are named fld[].

SELECT AccountNumber, AmountPaid, (trim(Lastname) & ', ' & trim(Firstname)) AS Name,
(trim(StreetNumber) & ' ' & trim(address)) AS sAddress,
(trim(City) & ', ' & trim(State) & ' ' & trim(zip)) AS CityStZip,
Format(Telephone , '(000) 000-0000') AS Phone,
(fldMonth & '/' & fldDay & '/' & fldYear) AS DatePaid
FROM Customers
ORDER BY Lastname, Firstname

Tried the Access code in CR2008 stand alone and in VS2008. Same results. Also tried inserting only one of the fields - fldYear in CR2008. Same result.
Any ideas would be great. Thank you.
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 01 Aug 2013 at 10:36am
What type of connection are you using to connect to the database from Crystal?  What is the text of the error?  Also, when Crystal passes back a db Error Code, that is the error code that is coming from the database.  So, you'll probably have to look through the documentation for the database in order to find and correct this error.
 
-Dell
IP IP Logged
kimt
Newbie
Newbie
Avatar

Joined: 06 Oct 2009
Online Status: Offline
Posts: 39
Quote kimt Replybullet Posted: 01 Aug 2013 at 10:52am
Thought I had posted earlier. No, matter it is working today. Thanks for your help.

Edited by kimt - 01 Aug 2013 at 10:53am
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.