次の方法で共有


DATAFILEINFORMATION Function (Database)

Specifies data from a file that has been exported from a Microsoft Dynamics NAV database.

For an example of how to use this function, see page 9900, Import Data, in the CRONUS International Ltd. demonstration database.

[Ok:=] DATAFILEINFORMATION(ShowDialog, FileName, Description, HasApplication, HasApplicationData, HasGlobalData, tenantId, exportDate, CompanyRecord)

Parameters

  • ShowDialog
    Type: Boolean Specifies if you want to display a dialog box where the user can confirm the action.
  • FileName
    Type: Text Specifies the name and location of the file that you want to read information from. The file must have been exported from a Microsoft Dynamics NAV database.
  • HasApplication
    Type: Variable Specifies if the file contains application objects. Create a variable of type Boolean to specify this parameter.
  • HasApplicationData
    Type: Variable Specifies if the file contains the data that defines the application in the database. This includes the permissions, permission sets, profiles, and style sheets. Create a variable of type Boolean to specify this parameter.
  • HasGlobalData
    Type: Variable Specifies if the file contains global, non-company specific data. Create a variable of type Boolean to specify this parameter.
  • tenantId
    Type: Variable Specifies the tenant ID of the database that the data was exported from. Create a variable of type Text to specify this parameter.
  • exportDate
    Type: Variable Specifies the date and time when the data was exported. Create a variable of type DateTime to specify this parameter.
  • CompanyRecord
    Type: Record Specifies the company or companies in the file.

See Also

Concepts

Exporting and Importing Companies and Other Data