Error Message: A Loop was evaluated more than the maximum....
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Error Message: A Loop was evaluated more than the maximum....

Threaded View

  1. #1
    Join Date
    Jun 2013
    Posts
    3

    Error Message: A Loop was evaluated more than the maximum....

    Hi,

    I have CR 2008 and updated the data source location of the report since we are using a new version of the database. I was running this report when I got this error message --> "A loop was evaluated more than the maximum number of times allowed". And it's highlighting the "for" below. Can you please help me figured out how to fix it? You're help is highly appreciated


    Code:
    //output := cstr(test) + " ";
    output:="";
    
    for n:= 1 to ubound(audit) do
    (
       output:= output + chr(13) + cstr(audit[n]) + ' - ' + cstr(dtrge_strt[n],'dd-MMM-yyyy') + ' - ' +  cstr(dtrge_end[n],'dd-MMM-yyyy');
    );
    //output
    //GetLocalTimeFromGMT({?Pm-?SPTimeZone},CurrentDateTime)
    //GetLocalTimeFromGMT({?Pm-?SPTimeZone},{TW_V_AUDIT_SUBMITTED_ON.date_time_value})
    
    thanks,
    netchie
    maximum({?Date Range})
    Last edited by GremlinSA; November 21st, 2013 at 01:18 AM. Reason: added code tags..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center