>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement