A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Invalid Procedure Call On my Report



 
 
Thread Tools Display Modes
  #1  
Old November 17th, 2005, 01:32 PM posted to microsoft.public.access.reports
external usenet poster
 
Posts: n/a
Default Invalid Procedure Call On my Report

I have used Left([PartCode],InStr(1,[PartCode],",",-1) to get part of a
string Last Name, First Name. The last name is pulling fine in my query
however I am getting an Invalid Procedure Call when I put this field my
header field on my report.

Any suggestions
  #2  
Old November 17th, 2005, 02:01 PM posted to microsoft.public.access.reports
external usenet poster
 
Posts: n/a
Default Invalid Procedure Call On my Report

M,
Try...
Left([PartCode], InStr([PartCode],",") -1)
But, if you've already got it working in the query behind the report you
should be able to use that calculated bound field.
If you had...
DerivedLastName : Left([PartCode], InStr([PartCode],",") -1)
in your query, then just [DerivedLastName] on your report should display the
correct value.

--
hth
Al Camp
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions

"M Wells" wrote in message
...
I have used Left([PartCode],InStr(1,[PartCode],",",-1) to get part of a
string Last Name, First Name. The last name is pulling fine in my query
however I am getting an Invalid Procedure Call when I put this field my
header field on my report.

Any suggestions



  #3  
Old November 17th, 2005, 03:39 PM posted to microsoft.public.access.reports
external usenet poster
 
Posts: n/a
Default Invalid Procedure Call On my Report

I think I have added the field to my report header correclty. On the report
I have used the field name tool and pulled the field name to where I want it
displayed.

"Al Camp" wrote:

M,
Try...
Left([PartCode], InStr([PartCode],",") -1)
But, if you've already got it working in the query behind the report you
should be able to use that calculated bound field.
If you had...
DerivedLastName : Left([PartCode], InStr([PartCode],",") -1)
in your query, then just [DerivedLastName] on your report should display the
correct value.

--
hth
Al Camp
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions

"M Wells" wrote in message
...
I have used Left([PartCode],InStr(1,[PartCode],",",-1) to get part of a
string Last Name, First Name. The last name is pulling fine in my query
however I am getting an Invalid Procedure Call when I put this field my
header field on my report.

Any suggestions




 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PST file has reached maximum size Jeff C General Discussion 2 October 6th, 2005 01:35 PM
Has anyone seen this behaviour? What might it be? tw General Discussion 4 June 30th, 2005 03:23 PM
Invalid Procedure Call CK Using Forms 2 May 7th, 2005 04:53 AM
Invalid Procedure Call Message Anthony Viscomi General Discussion 1 March 16th, 2005 03:15 PM
How do I call a SQL Server Stored Procedure from an Access Report. DJCovall Setting Up & Running Reports 2 January 21st, 2005 03:50 PM


All times are GMT +1. The time now is 11:19 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.