Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with SFR editing a report
Message
De
24/02/2006 10:52:20
 
 
À
24/02/2006 10:04:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Versions des environnements
Visual FoxPro:
VFP 7 SP1
Divers
Thread ID:
01098862
Message ID:
01098906
Vues:
9
Not sure if it's the best thing to do but here's what I did

I inserted these lines before the ascan
if alen(  taArray, 2) >= lnColumn
   lnRow = ascan(taArray, tuValue, lnStartElement, -1, lnColumn, lnFlags)
else
   lnRow = 0
endif
I have'nt done a lot of tests but for those I did it seems to work ok.

Perhaps Doug or anybody else familiar with SFR can tell me if this looks ok.



>SFR51F
>
>Error 1234
>Subscript is outside defined range
>lnRow = ascan( taArray, tuValue, lnStartElement, -1, lnColumn, lnFlags)
>line 51
>Method: sfutility..arrayscan
>
>I got this error after removing 3 grouping that I previously defined for a report
>
>With the debugger I see that lnRow = .f.
>
>and under the test for the value on lnRow there are some comment lines
>
>*** WORKAROUND FOR BUG IN VFP: with return row flag set, return value is 1 too
>*** high if the search column is the last one.
>
>So could it be that what used to be a bug in VFP has been corrected and now because of that bug correction it causes a bug in SFR?
>
>How do I fix this?
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform