4D v15

Appendix: Useful methods for conversion

Home

 
4D v15
Appendix: Useful methods for conversion

Appendix: Useful methods for conversion    


 

TechTip to create missing indexes on fields declared "Unique" which are not already indexed: http://kb.4d.com/assetid=77023

Techtip to generate a disk file listing non-indexed unique fields: http://kb.4d.com/assetid=77024

See Method editor in "English-US" by default

Since the Use regional system settings preference is local to the machine, it is not included in merged applications. 

In the context of merged applications, you have to edit the 4D v15 preference file on each local machine and set the "use_localized_language" key to "true":

 $UserPreference:=Get 4D folder(Active 4D Folder)+"4D Preferences v15.4DPreferences"
 $ref:=DOM Parse XML source($UserPreference;True)
 $refElem:=DOM Find XML element($ref;"preferences/com.4d/method_editor/options";arrElementRefs) //current value
 DOM GET XML ATTRIBUTE BY NAME($refElem;"use_localized_language";$attrValue)
 If($attrValue="false") //back to v14 behavior
    DOM SET XML ATTRIBUTE($refElem;"use_localized_language";"true")
 End if
 DOM EXPORT TO FILE($ref;$UserPreference)
 DOM CLOSE XML($ref)

 
 

 
PROPERTIES 

Product: 4D
Theme: Appendix: Useful methods for conversion

 
HISTORY 

 
ARTICLE USAGE

Conversion to 4D v15 ( 4D v15)