2020-11-04 07:51 PM - last edited on 2021-09-14 01:41 PM by Noemi Balogh
API_DatabaseInfo dbInfo = {}; dbInfo.typeID = APIWind_WorksheetID; GS::snuprintf (dbInfo.name, sizeof (dbInfo.name), "Zaphod %ld", ++myPrefs->lastWorksheet); GS::snuprintf (dbInfo.ref, sizeof (dbInfo.ref), "W%02ld", myPrefs->lastWorksheet); if (ACAPI_Database (APIDb_NewDatabaseID, &dbInfo) == NoError) { DBPrintf ("DatabaseControl :: The ID of the new worksheet database is \"%s\"\n", APIGuidToString (dbInfo.databaseUnId.elemSetId).ToCStr ().Get ()); }
2020-11-05 10:29 AM