Equipment Parameter Field Character Limit

Hello,

Is there any plans to increase the character limit for the Equipment Parameter field? The current 256 limit is a bit constrictive. 1024 or greater would be nice.

Thanks,

Chris

Parents
  • I'm not sure for versions v2016 and up, but there is a workaround in v2015 that exactly does what you want: increase the param field to 1022 characters.
    You will have to modify the citect.frm file for this to make it work, and by doing that you will probably have some compatibility issues if you ever want to upgrade to a newer version. Also editing this field data from Excel will not work anymore, and copy/paste equipment rows in Excel is tricky as well.

    This is the trick: The DBase standard allows fields to be set to a MEMO-type which allows for 1022 characters to be stored. It stores this info in an additional .dbt file. Citect allows this (undocumented) feature as well. To be able to use this feature follow these steps:
    1. Open the citect.frm file in a text editor (it is located in the Citect BIN folder)
    2. Search for: FORM "Equipment"
    3. Modify the "PARAM" entry from 'readwrite_foreign' to 'readwrite_memo'
    4. Upgrade the dbf files in your projects by setting Citect.ini parameter [CtEdit]Upgrade=1 and restart Citect Explorer

    Afterwards, make sure that everything works as expected by testing every aspect of your equipment before using this modification in a production environment. Also, you have to modify every computer that runs Citect to be able to compile/run these modified projects.

    Regards,
    Patrick
Reply
  • I'm not sure for versions v2016 and up, but there is a workaround in v2015 that exactly does what you want: increase the param field to 1022 characters.
    You will have to modify the citect.frm file for this to make it work, and by doing that you will probably have some compatibility issues if you ever want to upgrade to a newer version. Also editing this field data from Excel will not work anymore, and copy/paste equipment rows in Excel is tricky as well.

    This is the trick: The DBase standard allows fields to be set to a MEMO-type which allows for 1022 characters to be stored. It stores this info in an additional .dbt file. Citect allows this (undocumented) feature as well. To be able to use this feature follow these steps:
    1. Open the citect.frm file in a text editor (it is located in the Citect BIN folder)
    2. Search for: FORM "Equipment"
    3. Modify the "PARAM" entry from 'readwrite_foreign' to 'readwrite_memo'
    4. Upgrade the dbf files in your projects by setting Citect.ini parameter [CtEdit]Upgrade=1 and restart Citect Explorer

    Afterwards, make sure that everything works as expected by testing every aspect of your equipment before using this modification in a production environment. Also, you have to modify every computer that runs Citect to be able to compile/run these modified projects.

    Regards,
    Patrick
Children
No Data