Groff Automation Forum Index
Making software work for you
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log inLog in 

Log in to check your private messagesLog in to check your private messages   

Batch parameter and emailing

 
Post new topic   Reply to topic    Groff Automation Forum Index -> Program Help
View previous topic :: View next topic  
Author Message
Barkley564

Joined: 30 Aug 2007
Posts: 8
PostPosted: Fri Oct 26, 2007 11:32 am    Post subject: Batch parameter and emailing Reply with quote

First of all - I'll echo everyone else and say what a great program this is. It's been very helpful!

Here is the only issue I'm having, and I need to know if it's something I'm doing wrong.

I created my first report that uses the batch function (only one parameter). The name of the parameter is the email address I want it sent to, so when I export the report it batches through 8 email addresses and sends 8 emails with different attachments for each. When I manually export the report it runs great, but when I set it up on a schedule, it doesn't run.

I have other reports that don't batch, and they run on the schedule just fine. Is there some restriction with using batch as a parameter and having the report on a schedule?

I also took the trouble report and changed it from batch to one of the parameter entries. I then put it on a schedule and it exported / emailed fine, so I know the report is good.

Thanks for your time!
Back to top
View user's profile Send private message
Barkley564

Joined: 30 Aug 2007
Posts: 8
PostPosted: Fri Oct 26, 2007 12:04 pm    Post subject: Reply with quote

I upgraded to the newest version - and saw the 'process log' section. Here is the error it generates when [batch] is chosen:
10/26/2007 2:00:05 PM
Messasge: Logon failed.
Details: [Database Vendor Code: 18456 ]
Source: Crystal Reports ActiveX Designer
Stack Trace: at CRAXDRT.ReportClass.ReadRecords()
at CrystalDelivery.frmMain.fncCheckAlerts(String ReportSettingsInfo, String strCheckReport, Int32 intRow, Boolean booWeek, Boolean booTime, Boolean booHistory)
Target Site: Void ReadRecords()
Back to top
View user's profile Send private message
kgroff
Site Admin
Joined: 27 Jan 2005
Posts: 700
PostPosted: Fri Oct 26, 2007 1:23 pm    Post subject: Reply with quote

Sounds like a bug to me. I see about getting a fix soon.
Back to top
View user's profile Send private message
kgroff
Site Admin
Joined: 27 Jan 2005
Posts: 700
PostPosted: Fri Oct 26, 2007 1:26 pm    Post subject: Reply with quote

When I manually export the report it runs great


Just to clarify, batch for this report does work for you in manual mode but fails in auto mode?
Back to top
View user's profile Send private message
Barkley564

Joined: 30 Aug 2007
Posts: 8
PostPosted: Fri Oct 26, 2007 5:07 pm    Post subject: Reply with quote

That's correct. If I choose the report in Crystal Delivery and click Export, it exports all 7 times and emails correctly. However, in automatic mode I get the error above.
Back to top
View user's profile Send private message
kgroff
Site Admin
Joined: 27 Jan 2005
Posts: 700
PostPosted: Mon Oct 29, 2007 1:08 pm    Post subject: Reply with quote

Try version 7.0.6.0 to see if it corrects this problem.
Back to top
View user's profile Send private message
Barkley564

Joined: 30 Aug 2007
Posts: 8
PostPosted: Tue Oct 30, 2007 12:47 pm    Post subject: Reply with quote

I upgraded to 7.0.6.0 and had the same problem.

I even removed the report and set it back up in case it was dependent on a setting.
Back to top
View user's profile Send private message
kgroff
Site Admin
Joined: 27 Jan 2005
Posts: 700
PostPosted: Tue Oct 30, 2007 2:31 pm    Post subject: Reply with quote

I create a dummy report that contained a parameter with two email address as values. I used [BATCH] for the parameter value and [PV:2] dynamic text value in the To: field of the email. The report was emailed in both manual and auto mode. This test was done in version 7.0.6.1. See if that makes a difference.
Back to top
View user's profile Send private message
Barkley564

Joined: 30 Aug 2007
Posts: 8
PostPosted: Wed Oct 31, 2007 2:32 pm    Post subject: Reply with quote

Can you post the new version to the main page for download?
Back to top
View user's profile Send private message
kgroff
Site Admin
Joined: 27 Jan 2005
Posts: 700
PostPosted: Wed Oct 31, 2007 2:58 pm    Post subject: Reply with quote

7.0.6.2 should be available.
Back to top
View user's profile Send private message
Barkley564

Joined: 30 Aug 2007
Posts: 8
PostPosted: Wed Nov 14, 2007 7:52 am    Post subject: Reply with quote

Sorry for the delay in updating - the new version worked. Thanks a million!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Groff Automation Forum Index -> Program Help All times are GMT - 6 Hours
Page 1 of 1

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


Powered by phpBB © 2001, 2002 phpBB Group

Igloo Theme Version 1.0 :: Created By: Andrew Charron