RC-WinTrans Object Model Help |
ExFcts.UpdateDatabase |
Updates the translation data of a single source file or of all the source files for the specified target language. Unchanged source files will be skipped (no update). To force an update for an unchanged source file, use the parameter forceAll (=True).
Syntax: |
ExFcts.UpdateDatabaseUpdateDatabase( projFile As String, srcFile As String, tgtFile As String, Lang As String, logFile As String, forceAll As Boolean, nFilesUpdated As Variant, DeletedItems As Variant, NewItems As Variant, ChangedItems As Variant ) As long |
Return: | Boolean. "True" if successful. Otherwise "False". |
Parameters: |
projFile As String Project file name; the full path to the translation project file (.rwtproject) or the project database file (.fsmdb). srcFile As String Lang As String logFile As String forceAll As Boolean nFilesUpdated As Variant [out] nDeletedItems As Variant [out] nNewItems As Variant [out] nChangedtems As Variant [out]
|
Example: | Dim b As Boolean b = RCWinTrans.ExFcts.UpdateDatabase("MyProj.fsmdb","", "ja-JA","",False,Null,Null,Null,Null) If RCWinTrans.Errors.Count > 0 Then MsgBox RCWinTrans.Errors.LastError End If |
See also: