Chapter 8 Managing Objects


Modifying the properties of a file object

By default, at creation, the file object is embedded within the model but you can modify that property and change the file object into an external file or an URL.

For more information on Location Types, see section File object properties.

You can modify the file object properties using the following methods:

For more information on the different ways to modify the file object properties, see section Modifying object properties.

Location type

When you modify the Location Type property of a file object that has a content, the following can occur depending on the initial location type of the file object:

File object was... You redefine it as... What happens...
An external file An embedded file When you click OK in the file object property sheet, a confirmation box asks you if you want to copy the content of the external file into the embedded file. Click Yes if you want to preserve the external file content, otherwise click No, the external file content will be lost but the extension file will be kept and will appear in the Extension box
An embedded file An external file A confirmation box asks you if you want to copy the embedded file content in the external file. Click Yes then type a filename in the Save As dialog box that is displayed, and click Save. Otherwise click No then browse for an existing file in the Open dialog box that is displayed, and click Open. In both cases, the Location and the Extension boxes change accordingly
An embedded file An URL A confirmation box warns you that the embedded file content will be lost

 


Copyright (C) 2005. Sybase Inc. All rights reserved.