>The following code works fine when running the exe within VFP but does not work when running the exe from explorer - I think it is a problem with the mline function - the records are created in superdata but there is no data in ggg and consequently no data in linexdata
>
>Any ideas?
>
>SELECT super
>STORE 0 TO nn
>SCAN
>
>store memlines(indydata) to totlines
>
>for xx=1 to totlines
>store mline(indydata,xx) to ggg
>SELECT superdata
>APPEND blank
>replace linexdata WITH ggg
>SELECT super
>next
>endscan
I just want to point out that that code is not a good idea. If any of your memo fields are particularly large, it will be horribly slow. At a minimum, you should use the 3rd parameter of _MLINE for MLINE(), which picks up where you left off. However, you can probably do this much faster with ALINES().
Tamar
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