I have the following (code excerpt) attempt to create a document on disk. The Select Document dialog is fine, and shows the desired directory (default saved to #5) I can enter a file name, no problem.
However... $File_Path-> after accepting the file destination and file name contains ONLY the file name. So that the following code actually creating the document fails to create the file in the desired location. Effectively Create DOcument has on a file name, and so creates the the file in the default 4D folder, in this case in the (Mac OS) User: library: Caches: 4D: <data_base_name> any idea on how to get the USer selected path?? excerpted code $File_Path->:=Select document(5;$Extension;$User_Msg;32+16) If ($File_Path->#"") //file opened/file name entered $Doc_Ref->:=Create document($File_Path->) //create disk file --------------- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************