How to Change the Creator and Type Set by FCREATE() (109482)



The information in this article applies to:

  • Microsoft FoxPro for Macintosh 2.5b
  • Microsoft Visual FoxPro for Macintosh 3.0b

This article was previously published under Q109482

SUMMARY

When the FCREATE() function is used, FoxPro for Macintosh creates a FoxPro document; by default, the Creator and Type of the file are set to:
   Creator - foxx
   Type    - TEXT
				
You can change the Creator and Type of a Macintosh file from within FoxPro for Macintosh. For example, to change the Creator of the file to TeachText (ttxt), issue the following commands:

SET LIBRARY TO FOXTOOLS
=FxSetType( "<filename>", "TEXT", "ttxt" ) && To change to TeachText


Modification Type:MajorLast Reviewed:10/15/2003
Keywords:KB109482