MSI Factory 2.3

MSI.DatabaseIsTablePersistent

MSI.DatabaseIsTablePersistent

This is the first topic This is the last topic  

MSI.DatabaseIsTablePersistent

This is the first topic This is the last topic  

OverviewExamples

number MSI.DatabaseIsTablePersistent (

number hDatabase,

string TableName )

Example 1

hDatabase = MSI.GetActiveDatabase(_hInstall);

 

if (hDatabase ~=0) then

   nPersistent = MSI.DatabaseIsTablePersistent(hDatabase, "FeatureComponents");

 

   if (nPersistent == MSICONDITION_TRUE) then

       Dialog.Message("Persistent Result", "The table FeatureComponents is persistent.");

   end

 

   MSI.CloseHandle(hRecord);

else

   Dialog.Message("Error", "Failed to get the handle to the active database.");

end

Gets the state of the table named "FeatureComponents" and shows a dialog message if it is persistent.

See also: Related Actions


Learn More: Indigo Rose Software - MSI Factory - Buy Now - Contact Us