Can the following be done with a rule?

For i=1 to 3
T = "T-" & i
Next i

If I direct the rule in a step to a sub routine that does the for|next the
only answer I get is T-3, always skips over T-2 and T-1.  I have the
following: (the only way I could conceive a solution)

If Rule("Print [EMAIL PROTECTED],1&@3,16") Then
            For i = 1 To 3
            T = "T-" & i
            Stable 0.5
            Enter T
            Stable 0.5
            Enter T
            Stable 0.5
            If At("[EMAIL PROTECTED],1") Then
                        Step = "Stmnt Error"
                        EDI_Transmit
                       Else
                       Step = "Download Statements"
                       EDI_Transmit
            End If
            Next i
            Exit Sub
        End If

If I F8 step through it it works fine.  As soon as I go full speed it will
enter the first range correctly, the second time through it will enter T-2
and then t-3 instead of t-2 and t-2.

Any thoughts?  I'm not finding anything that looks familiar in Talk
archives.

Thanks.

Brian Bennett
AHS Clinic Billing
System Analyst
920-628-9015

Reply via email to