Changing the Datatype of an e-Work Variable
The information in this article applies to product: e-Work all versions
Issue
When a procedure is published, the following message appears:
Warning - Column is already defined with a different field type
Resolution
This message indicates that a column has already been created in the map table in the e-Work database for the e-Work variable but with a different datatype. The following steps would generate this warning:
- Add a number field to a form and associate it with custom variable 'Number1' of type 'integer'.
- Publish this as 'Map1'. In the table 'Map1', a column will be created named 'Number1' of type 'int' (in SQL Server).
- In the e-Work Designer, delete the custom variable 'Number1'. Now create a new custom variable with the same name but of datatype 'real'.
- Publish the procedure. The warning listed above will be generated. Column 'Number1' already exists in the database as type 'int', and e-Work cannot change the datatype of a pre-existing database column. Either create an e-Work variable with a different name to associate with the form field, or change the datatype in the database.
Tagged:
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 150 General Questions
- 148 Thrust Services
- 57 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 186 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories