December 4, 2012
Last year I had to do some customizing of the Clarify attachment form (form 1006) for a customer. This is one of those old-school forms that doesn’t always behave very well with ClearBasic. I shared some of my findings and solutions on customizing this form. I had a new request come up this week. How do I enable a user to add an attachment on a case that they don’t own? Plan A The first thought was simply to enable the buttons on the form. Sub Form_Load() Me.DoDefault FILE_BTN.Enabled = TRUE ADD_BTN.Enabled = TRUE End Sub The buttons were now enabled, but clicking the Add button raised an error, " '{CurrentOwnerLoginName} is now the owner, therefore the 'Save' operation cannot be completed." Bummer. Plan B There’s a bug that exists in most versions…
More on Customizing the Clarify Attachment Form (form 1006)
December 4, 2012
Last year I had to do some customizing of the Clarify attachment form (form 1006) for a customer. This is one of those old-school forms that doesn’t always behave very well with ClearBasic. I shared some of my findings and solutions on customizing this form. I had a new request come up this week. How do I enable a user to add an attachment on a case that they don’t own? Plan A The first thought was simply to enable the buttons on the form. Sub Form_Load() Me.DoDefault FILE_BTN.Enabled = TRUE ADD_BTN.Enabled = TRUE End Sub The buttons were now enabled, but clicking the Add button raised an error, " '{CurrentOwnerLoginName} is now the owner, therefore the 'Save' operation cannot be completed." Bummer. Plan B There’s a bug that exists in most versions…
March 12, 2012
There may be a need to extract all the ClearBasic code for entire project at once. If the project consists of only a few modules, one would use CBEX tool in interactive mode, select the modules from the list, specify the destinations, and export. But if a project involves very many modules, this method becomes burdensome - CBEX does not have a 'select all' capability. One way to make one's life easier is to use a tool developed by Dovetail Software, as explained in this article by Gary Sherman. Another method is to generate a CBEX directive file and then use CBEX in batch mode to export all the code. The process of generating the directive file is exactly what is burdensome in CBEX GUI, therefore a different method is needed. This can be achieved by using SQL statements to produce one directive…