Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Uh Ohh.. Have I found another error?
Message
From
16/10/2001 05:09:12
 
 
To
15/10/2001 18:04:48
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00551426
Message ID:
00568898
Views:
22
James

Thanks for bringing this thread back to my attention.. I didn't realise it had continued without me... I also realised I had not marked Jim's answer as the solution.

Will

>Jim,
>
>I found your reply today (10/15/01) when looking for an answer to the same problem described by Will in this thread. I made the modification you suggested and have had no further problems (execpt the usual ones I manage to create for myself).
>
>Thank you so much for promptly responding to this concern. I hope this is the future MS pattern for dealing with relatively minor VFP fixes.
>
>Regards,
>
>Jim E
>
>You wrote:
>I see the problem now, and I sent it up the line.
>
>It works OK if there is a space in the SKIP FOR prior to the first .F., but if there is not, the SKIP FOR is omitted. If I use the SKIP FOR below, it will happen. I didn't see it before because your posted SKIP FOR had the extra space.
>IIF(EMPTY(ga_trns[1]),.F., gn_ModMode <> 2 OR TYPE("pl_stkdisp") = "U" OR NOT pl_stkdisp) ;
>
>You can fix this by editing GENMENU.PRG, in the AddSkipFor function. I changed line 1250 from this:
>IF ATC(".F.",GETWORDNUM(m.skip,1)) # 0
>
>to this:
>IF ATC(".F.",GETWORDNUM(ALLTRIM(m.skip),1)) = 1
>
>and it seems to work fine for me. Please note that I HAVE NOT TESTED THIS EXTENSIVELY, but I think my logic is OK. Alternately, you can leave Genmenu as it was, and include spaces in your SKIP FOR prior to the first .F..
>
>The problem is we should only drop the SKIP FOR if the .F. is first, not if it is anywhere in the first word.
>
>Thanks for sending this through!
Will Jones
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform