Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with SPACE characters

Status
Not open for further replies.

foxprogram

Programmer
Aug 31, 2004
28
HU
I use
c_folders=GETDIR("G:\", "Moveable disks" , "Choose:", 66, .f.)

and than

Set Defa To &c_folders

the result is only error messages,when the chosen directory / folder nameor the path itself somewhere contains SPACE characters.
The same problem when I should to use for Appnde from &filename, when filename contains SPACE characters.

Any idea to solve the problem ?

Something like this :
c_folders="'"+c_folders+"'" ???
 
try:

c_folders = getdir( "G:\", "Moveable disks", "Choose:", 66, .f.)

set default to (c_folders)

works for me,

Stefan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top