Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error message

Status
Not open for further replies.

site

Programmer
Oct 23, 2001
44
AT
Hi, All,

I am working with an Access project. I create the form based on the stored procedure, but I couldn't get form, just return the message: "The stored procedure is successfully but not return record" Why? How should I do?

The following are my stored procedures:

declare @nTotalRecs int
select @nTotalRecs = count(mode) from Complaints

select Complaints.mode as Category,
count(Category)*100/@nTotalRecs as Percentage
from Complaints where complaints.mode is not null
group by mode

Any help? Many Thanks.

Jing
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top