Original question was how to adapt the code for local
currentVersion = Valentina.GetDatabaseFormatVersion(theFolderitem)
oldSchemaVersion = Valentina.GetSchemaVersion(theFolderitem)
to the server. Changing the code to
currentVersion = Valentina.GetDatabaseFormatVersion(GetFolderItem(DatabaseName))
oldSchemaVersion = Valentina.GetSchemaVersion(GetFolderItem(DatabaseName))
only gave a VException 365826 without error message.
Ivan gave me the tip to do a Valentina.init after Valentina.InitClient which fixed the empty error message. I thought that only one Valentina init method is to be used but whatever.
In my original question 6 months ago Ivan said to use
This has 2 problems. For this I would have to open the database first but I can work around this issue. However, when trying the SQL in ValentinaStudio latest version I only get errors:
Kernel error: 0x51500. Identifier "schemaversion" is not found.
Kernel error: 0x51500. Identifier "databaseversion" is not found.
What do I do now?
Mit freundlichen Grüßen/Regards
Mail Archiver X: The email archiving solution for professionals