General information
Category:
Coding, syntax & commands
>I'm using VFP 6.0 under Nt4
>when i use substr(sys(2015), 3, 10). Sometimes i receive a numeric for the first character. Is it possible ???
>Can anyone help with this?
>Thanks,
>Alain
tempfilename = left(sys(2015), 8) + '.dbf'
** returns an 8 pos string starting with an underscore
if file (tempfilename)
tempfilename = left(sys(2015), 8) + '.dbf'
endif
** since 8 character is not guaranteed unique, ask if already a file and keep
** trying until it is not a file.
brenda
Previous
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