Thanks, David-
Have been pretty uninterested in this, frankly, but I'll throw in your suggestions and try it out. Thanks. Oh, and yeah, we're coming about 1/2 as fast as the straight-VB solution.
>Nancy,
>
>This line of code from your solution:
>
>lcName = RTRIM(STRTRAN(CHRTRAN(CHRTRAN(lcName, CHR(10), ' '), CHR(13), ' '), ' ', ' '))
>
>would be faster done like this:
>
>vfCRLF = chr(13) + chr(10) && don't use #define which is going to at runtime redo the concatenation over and over
>
>lcName = RTRIM(STRTRAN(CHRTRAN(lcName, vfCRLF, ' '), ' ', ' '))
>
>There are some other optimizations that could be done if VFP is proving to be way slower than VB.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only