General information
Category:
Coding, syntax & commands
Title:
Problem with replace statement with string
Hello:
Just having a small problem with syntax ... I have a form that sllows the user to select a drive letter/directory and want to replace the value in the field with this drive letter + what value was previously
in the field, when I use the following code the field is replaced with the new drive letter only. I want to replace the first three characters in the field only. Any help would be appreciated. Thank you.
direct = ""
direct = thisform.text1.value
direct = getdir("\wincats\sys.dbf\, ", "Directory")
replace upldp with thisform.text1.value + right(allt(upldp),; len(allt(upldp)) - 3)
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