Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Maximum string length?
Message
 
 
To
02/03/2006 17:51:18
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01100026
Message ID:
01101119
Views:
24
Reducing number of lines in code not necessarly makes it better.

>The code I gave you was for illustration only. The filespec is not hard coded. It is input by the user via a filepicker class similar to
>
>lcSourceTable = GETFILE()
>
>Thus the variable has the full filespec in it. I could use juststem or justfile to get just the filename but since the original table is not likely in the current directory I would have to be marching all over the disk to find it. Opening the table prior to the SELECT gives me the handle I need to close it but requires an extra step that I was hoping to avoid.
>
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform