Addsum web site and general info

Postings here will focus mainly on Advanced Accounting software updates, tips, and related topics. They will also include general comments relating to troubleshooting PC/Windows/network problems and may also include reference to our other software products and projects including any of our various utilities, or to the TAS Premier programming language. We considered setting up separate blogs for different topics so that users/others could subscribe to topics mostly aligned with their interests, but decided that it would be better to keep things simple since some topics cross over into others. We would nonetheless welcome your feedback/input in this regard. Our web site URL is www.addsuminc.com. Call us at 800-648-6258 or 801-277-9240. We also maintain www.advancedaccounting.us so that older Business Tools users in particular have a greater chance to find us. White list noreply@follow.it to ensure you receive notifications once you subscribe.

Sunday, November 1, 2015

XLS files: converting text to numbers


When retrieving an XLS file generated directly from the print to file option included in all Advanced Accounting versions from 6 through 7i (see printing to a file in Advanced Accounting) as well as upcoming release 8, numeric data may be initially formatted as "text" rather than as numbers.  In order to use the data in calculations, this text data can be easily converted from text to numbers via a few steps depending on the spreadsheet program that is used.  The discussion that follows outlines options available in OpenOffice Calc and Microsoft Excel to accomplish this task.

First, here's a preview of a sample report generated out of upcoming Advanced Accounting 8's enhanced sales tax analysis report grouping sales by month:





The discussion below involves retrieving the XLS file generated from this report and converting some of the columns to numbers.


OpenOffice Calc:

In OpenOffice, a leading apostrophe denotes text formatting.  





Rather then edit the cells individually, after retrieving the XLS file (click on File then Open and navigate to where the file was saved), first select and format all cells to numeric (not currency) with two decimal place precision.





Note:  a convenient way to select cells is to simply click on the first cell and then hold the SHIFT key and use down and ultimately right arrows.   Then click on Format then Cells to get the option above.

Without unselecting the cells, do a Find and Replace (click on Edit and then Find and Replace, or CTRL-F) .

Search for:

^. 

(i.e. input the caret or exponent symbol produced via Shift-6 followed by a period)


Replace with:

&

(i.e. an ampersand character, Shift-7)

Click on More options if the option list is not already expanded and make sure that "Regular expressions" is checked.

Click on Replace All, then Close.




All of the selected cells are now numeric.

The above procedure works in OpenOffice 2, 3 as well as the recently released 4.

Microsoft Excel:

There are many different versions of Excel, each of which may offer different approaches to accomplish this task.   A general reference document can be found here: How to convert text to numbers in Excel.

The "text to column" approach is one method (Method 7 in the link above), although it only works in selecting one column at a time and is not as convenient as in the OpenOffice Calc example.  Here is an example using Excel 2010 and this method.

Select one column of text that contains numbers.

Under the Data menu or tab, choose Text to Columns.

Choose Delimited, click on Next and choose Tab and again click on Next.






Choose General for the column data format.   Via the Advanced button, the decimal and separator options can be made, and then click Finish.   





Repeat for each column.




Wednesday, October 14, 2015

Panda antivirus: not our favorite


The truth is that we really do not have a favorite brand of antivirus protection software. Like death and taxes, antivirus software is not optional in today's world.   Often the antivirus and related malware detection applications however behave at a level equivalent to some viruses.  And they typically steal processing power along with their incessant updates making computer use much less enjoyable and efficient.

Users are further placed into the unsavory position of having to choose sometimes between antivirus packages that have excellent detection but high resource utilization versus antivirus software that has lower detection accuracy but also lower resource usage demands.  

Often Norton/Symantec Antivirus and McAfee brands have been the causes of PC slowness. Over the years, however, we have heard of more rogue problems with Panda Antivirus than any other.  And today was no exception.

Yesterday we updated an end user's main executable with a newer version simply as a part of an update and because it might have helped with an issue they were having.   Everything was working fine until an automatic update occurred on that system this morning. The update at least in part involved Microsoft updates (this was on a Windows 7 Ultimate operating system). The 19 Microsoft updates that were installed rendered the PC unusable for a time, a story that is all to common (and we recommend managing these on a non-automatic basis for exactly this reason). The end user though was also using Panda Antivirus 2015, and we suspect that a Panda update also occurred. After these updates and after having used the executable associated with the software earlier today that we had updated yesterday, the executable simply vanished along with the desktop icon associated with it.

And it was Panda Antivirus 2015 that removed it.  When adding it back, naturally Panda still refused to allow access. Initial responses however were Windows permission and networking errors and nothing from Panda until finally:




What was suspicious about the file?  Because it was downloaded via a web service (in this case via file transfer protocol)?  Yet that's where pretty much everything comes from these days.   No other details whatsoever?  No indication of the publisher name or the digital signature date if that information is present (which it was) so that the user can make an informed decision?  How would the user otherwise easily, quickly and without having a somewhat high level of expertise know what to do?  How high of a burden is this to place on a end user without providing as much information as possible in a case involving a false positive as here?   Won't this then encourage the user without this information to "neutralize" (a euphemism for delete, kill, remove, etc.) the threat?   The "threat" once averted then cripples the end user system.

So at this point, the file can be "excluded" and the software was then again operational, but that alone is not enough.  Exclusions need to be added as we did here after this problem arose:






(Any antivirus program you use should allow for adding exclusions or exceptions.  If it doesn't, find another antivirus program.)

Prior to adding the exclusions above, Panda's settings reflected the fact that the files had been quarantined but then excluded.







And this is not the first time we have seen this happen.   A different system in 2013 that was using Panda and a software package that also uses the same executable suddenly experienced the same thing and that was on system that had not changed for some period of time. Yet, these are are simply completely valid, digitally signed executables with no compression and which have been widely used on many other systems and not falsely detected as being suspicious by other antivirus software.

Is it possible that users when presented with the "suspicious file" option are choosing "Neutralize" rather than "Exclude" since it is the first option and since it sounds less benign, and so the removal is actually being confirmed by the user?  Yes, that is possible, and we can't be certain that did not happen in these two cases, but there have been other reports of files deleted by Panda that did not appear to involve any user interaction.

In much older systems (and going back into the late 90's) we had several reports from users using Panda where false positives would occur on end user data files (and so not executable files at all) that could not possibly be infected with a virus, and yet in at least two cases Panda actually deleted the end user's data (files that just happened to not be open that Panda decided to quarantine and delete them) during daily operation of the software.  

We've never experienced these problems with any other commercial antivirus software programs.

This points out how critical it is to exclude critical software installations such as accounting software or heavily used production systems from real-time antivirus or malware scans.   False positives can and do happen with all antivirus software.   And if you use Panda, you are at even greater risk if you do not do this.

And also be very wary when updates occur.  While Panda is not alone in having update problems, earlier this year a significant problem arose with a Panda update, see this story published on March 11, 2015 in the iDigitalTimes:  Panda AntiVirus Update Problems Bricked Your Computer? Here's How To Fix Wiped Files And Restore Your PC Stability.

Is the cure worse than the disease?  Maybe not, but often it seems that way.









Sunday, October 4, 2015

TAS Premier 7i release 10

Tomorrow we will will officially publish our tenth release of TAS Premier 7i.   Originally released on September 21, 2005, we have published ten releases in the last ten years. 

Release 10 addresses many different areas of the development system from data dictionary maintenance to internal runtime handling in the event of missing program files (whether physically missing or temporarily unavailable to network connection or pathing issues).  



Of note however are the many enhancements relating to reporting and printing.   A vexing issue that has only occasionally been reported (not just in TAS Premier 7i but also in the TAS Professional 6.x series before it) is a report image  (whether actually attached or loaded "on the fly") which while appearing perfectly in order on the preview screen, randomly prints out to the printer as either blank (i.e. leaves white space) or is outlined in black.  One user thought the problem started with Windows 10 but in fact it is unrelated to any particular operating system.   Some users have thought it related to a printer driver issue. Others suspected that the size or type of the graphic file was the issue.  

In fact, it was none of these.   And it also had nothing to do with anything in the TAS Premier 4GL development system itself but rather with an underlying third party component that had in turn based its image handling code on the 3GL language used to create modern versions of TAS.

The use of components is a necessary part of Windows programming, but this also shows how a problem with one procedure in one underlying component has a rippling impact on everything that is then built on top of it.  Finding an appropriate patch was difficult, but was something we accomplished several months ago.

For the first time, report emulation text files are supported in release 10 and appears as the first option in the print to file drop down box:




(for more about printing to a file, see Printing to a file in Advanced Accounting)

A "Text" option was originally provided by the original publisher of the TAS language and IDE starting with version 6, but its purpose was actually to export specific fields/columns of information in a report, and requires a special setup that is essentially report specific.   Its selection would therefore result in a blank page.  The RET files instead produce the text (no graphics) equivalent of any existing report including spacing (but no printer specific codes).  This is no doubt what was originally intended and provides users with a quick way to output text from a report somewhat similar to what was available in legacy (5.1 and prior) versions most which did not support graphic reports (with the exception of one private label version).   Note though that if a report layout relies on auto-sized fields and/or its column spacing is cramped or relies on a variety of differently sized proportional fonts, you should expect that some text may overlap or be truncated, and the resolution for that, if critical, is with the design of the report layout itself, i.e. its RTM.

Also included is support for the first time of report archive files (RAF).  We decided against including these in the drop down box (but might add that in the future) associated with "Print to file" since end users would typically not know what they were for, plus they would no have a way to preview/print them without an appropriate viewer and there could be issues with security/confidentiality (although that is certainly true with other types as well).   Instead we decided to put this powerful capability into the hands of the developer to create them when needed and we have also provided a new function that allows them to be previewed/printed exactly like any report.   Report archive files have many potential uses for storing a report exactly the way it was initially generated, and also for generating reports after hours and then previewing/printing them later. Developers will be in the best position to implement their use.

For the short explanation of other updates including in release 10, see TAS Premier 7i updates.  For a detailed explanation, see the help (CHM) file that is included with the update or full download.  A PDF equivalent is also separately available and now exceeds 720 pages.

Occasionally there has been more than one TAS Premier release in a single year as there was in 2012 and there was one two year+ period between 2009 and 2011 without an official release.  Updates however are made frequently and our goal remains to provide at least one official TAS Premier release per year.

The TAS Premier 7i development system is still completely free as it has been for the last ten years.  End user deployment does require an inexpensive runtime license.  As future more advanced capabilities are provided, there may be charges for use of those features.




Wednesday, September 30, 2015

A salute to Gene Patterson

Yesterday we were saddened to learn that the president of a longtime Advanced Accounting user had recently died.

At age 76, Gene Patterson had still been very much active in the business operations of PatCo, Inc.  an industrial and contractors supplier specializing in fire safety equipment located in Murfreesboro, Tennessee, and had been its president for the past 28 years.   Gene's son Roger, with some 27 years of experience and formerly the vice president of PatCo, will be continuing to lead the company.

Gene also served in the National Guard.

Our first contact with Gene was in July of 1995.  His company at that time was using Advanced Accounting 5.0 published by Business Tools, Inc.   We were engaged to make a number of custom program modifications which were completed that month. Only a few months later, we held our first ever Advanced Accounting seminar (in St. Louis) and had the privilege of meeting Gene and one of his employees.  Gene would later also attend a seminar that we held in Salt Lake City in the fall of 2000.

We continued to provide technical support and custom program services as needed including the software and programming assistance to convert PatCo's system from Advanced Accounting 5.0 to 5.1 by the end of 1998, and continued a relationship through to the present.   PatCo continues to use the 5.1 version in 2015.

As is often the case with longtime users, often we would not hear from PatCo for long periods of time.  From 2003 to 2008 we would sometimes not hear from them for more than once or twice per year, or sometimes not for an entire year or more.   There was a three year period from late 2008 to late 2011 when we had no contact at all.  Prior to the call the other day when we learned of Gene's passing,  we had not heard from anyone there since July of 2014.

Gene and his staff were always a pleasure to deal with.   He typified the hard working, long-lived entrepreneurial spirit of business owners that use Advanced Accounting.

We often don't get the opportunity to say thank you to customers like Gene and to companies like PatCo that we have had the opportunity to work with, in this case over a twenty-year period.  Thank you.

And we salute Gene for the hard work he put into his business that unquestionably had a positive impact on the local community and the lives of others.





Tuesday, August 11, 2015

Windows 10: Wait

A number of our users have already tested running our software under Windows 10, and the results are all encouraging and we don't anticipate any problems.

Nonetheless, especially if you depend on your PC in running a business, it is too early to update.

If you will be eligible for the free Windows 10 upgrade, then at some point before it is too late (and if Microsoft gets the message that forced automatic updates are not acceptable) you will no doubt want to upgrade.   

But as with all new operating systems (and there is no exception to this rule for business users), you should wait for the first service pack to be released before simply forging ahead.

Minor updates/releases can be problematic enough. Seemingly simple updates can cause significant problems.  We've written about recent examples including Win 8 updates that do not fully complete (this app cannot be run on your PC in May of 2015) and updates that caused font degradation (Microsoft automatic security update 3013455 released in February of 2015 ).

Apple iOS updates over the past several years have had more than their share of problems showing that Apple users should justifiably have the same fear of even minor updates as Microsoft users have been conditioned to have.  In fact iOS 8.4 has for some of us has been a disastrous update (we have an occasionally used iPad that the iOS 8.4 update has rendered useless, even after a full reset).

Yet the fear of not getting the latest, untested security update has been pounded into the minds of computer users.

Jumping to Windows 10 however is an even bigger leap of "forced update" faith.  Users need to be able to control when/whether they want to receive those updates.   And, regardless of that issue, unless you want to be a part of the Windows 10 testing community and because there are always unknown problems that follow new releases, wait for the first service pack at the very least.

Some recent resources on this topic:

Windows 10 review: Hold off if you use Windows 7 (InfoWorld, July 29, 2015)
Windows 10 Forced Updates Causing Endless Crash Loops (Forbes, Aug. 8, 2015)
Windows 10 Problems: Wait to Upgrade for Now (GottaBe Mobile, Aug. 10, 2015)


An additional side note of interest relates to Microsoft's currently planned support cycles for Windows 7 and Windows 8:  Windows lifecyle fact sheet.

While Windows 7 "mainstream" support ended in January of 2015, "extended" support (security updates) are still expected to be provided until January of 2020.

And if you do decide to put Windows 10 on an older computer, keep your expectations low.  The upgrade may very well install and work up to a point (and that is perhaps the surprise), but your PC may also become marginally useful.

Can your old PC run Windows 10? The answer will surprise you. Here's how Windows 10 feels on very old hardware. (PCWorld, July 30, 2015)

Win 10 will not be a cure for an older, poor performing PC.









Friday, July 31, 2015

New California sick leave requirements effective July 1

When we first heard about the final implementation of this law effective July 1 in early to mid-July, last minute changes were still being made.   One of the impacts of the law relates to a requirement to notify employees of their sick leave availability, one of the simpler methods being via a paycheck stub or equivalent.

The law states:

246 (h) An employer shall provide an employee with written notice that sets forth the amount of paid sick leave available, or paid time off leave an employer provides in lieu of sick leave, for use on either the employee’s itemized wage statement described in Section 226 or in a separate writing provided on the designated pay date with the employee’s payment of wages.

Section 226(a) outlines how employee wage payment information must be to provided to employees, and what minimum information must be provided.

With few exceptions, starting July 1, 2015 employees who work at least 30 days* for the same California employer within a one year period are entitled to the sick leave at a rate of not less than one hour per every 30 hours (see alternative method however discussed in the next paragraph).    Employees who are exempt from overtime are not exempt from receiving this benefit, but their accrual rate can be set based on 40 hours per week (unless they work fewer hours per week than 40).

*Employees can begin taking sick leave after 90 days of employment which can be restricted to a total of 24 hours; in fact, employers can provide 24 hours of sick leave in a lump sum available at the beginning of each year instead of the "one hour per every 30 hours worked" rate.   This however may not make sense for a company with a large number of part-time employees.

Various third party sources indicated that employers were required to provide employees with a notice stating sick leave "days" that were available.   Not only would that be a very confusing way to to notify employees and difficult to calculate (based on an employee's part-time vs. full-time status for example), it is not what the law states.    The law states employees are to be provided with "the amount of paid sick leave available."  Logically, that would not be "days" but rather hours.

Accordingly in mid-July, Advanced Accounting 7i paycheck stubs were updated to include that information.




The new law will require potential changes to personnel policies and added administrative burdens.

For employees of employers who would otherwise be entitled to no time-off whatsoever, the new law should be helpful and might make some public policy sense.

But for employers already offering various vacation/sick/holiday plans and for those who may offer paid "leave" for time-off without trying to distinguish as to whether it is for a "sick" day or for vacation, personal day or compensatory leave, etc. does not in our opinion make much sense.  Employers should not be placed in the position of having to be watchdogs with respect to the reason an employee might take a day off, whether planned or unplanned.  If completely unscheduled, then some reasonable explanation should be provided by the employee and the unplanned absence tracked by the employer at its discretion, but the employer should not then be placed in the position of determining whether the employee was "really" sick or not, nor whether the sick leave was taken in accordance with the type of circumstances  that might qualify as sick leave under the act.  Mandatory plans that segregate different types of leave tend to lead to abuses.    If employers want to combine their sick and vacation and any other paid leave into one package to their employees, they should be allowed to do so.  The new law does not regulate nor require vacation or other types of paid leave.   For employers who already offer more enlightened and more generous benefit programs, the new law will simply lead to a certain amount of gamesmanship and the changing of certain words in policy manuals simply to comply with the law which in the end will not likely lead to any real benefit for their workers and will simply add to the employer's administrative costs.


Background information:

http://www.jdsupra.com/legalnews/at-last-amendments-to-ca-s-paid-sick-56103/

http://www.natlawreview.com/article/california-enacts-urgent-clarifications-to-california-paid-sick-leave-law

http://www.natlawreview.com/article/emergency-legislation-to-amend-california-s-paid-sick-leave-requirements-signed-gove

http://www.natlawreview.com/article/last-minute-amendments-to-california-s-sick-leave-law
State of California general link:

http://www.business.ca.gov/StartaBusiness/AdministeringEmployees/EmployeeBenefits.aspx





Thursday, July 16, 2015

Pervasive 161 (license count status code)

A Pervasive (informally Btrieve, and now owned by Actian) status code 161 as intercepted and returned in an Advanced Accounting environment might appear as:




While most often it is in workgroup installations (i.e. using the Actian/Pervasive workgroup engine, even if installed to a "real" production server) when this error is generated, it can also occur in client-server versions since the 161 means (from Pervasive's status code documentation):

161: The maximum number of user count licenses has been reached 

You attempted to open another session when you were at the limit of your user count license. Either close a session or upgrade your user count. 

This status code is also returned after a trial or temporary license has expired. If all users receive this error and no one is able to access the database engine, then most likely you have been using a temporary license key and you must now apply a regular license key. Please contact your reseller or Pervasive Software to purchase a regular license. 

For more information about purchasing and installing additive user counts, refer to Getting Started With Pervasive PSQL. You can use Monitor to determine which users currently have connections to Pervasive PSQL. For information about Monitor, refer to Advanced Operations Guide. 


A 161 however can mean something quite different than the explanation above.   In a workgroup situation where the gateway locator has been appropriately set using the Pervasive/PSQL Gateway Locator Utility and the accounting or other software is moved to a different server or gateway PC, this can then lead to the user receiving a 161 until a new "server" gateway assignment is made.

The Gateway Locator Utility (which again, only applies to Actian/Pervasive workgroup configurations and not Actian/Pervasive client-server installations) is located under the utilities section (or can be searched for under PSQL Gateway Locator in Win 8 or just search for gateway).  



This utility should be used to assign the PC that "hosts" the software application and needs to point to the data folder where the Pervasive data files are stored.  In that folder, it will create a read only file name PVSW (an abbreviation for Pervasive Software) that is enclosed in tildes and that has an LOC extension, i.e.:  ~PVSW~.LOC.   Designating a PC as gateway then basically allows that designated PC to act more like a server would in a true client-server installation.   In other words, the Pervasive workgroup engine has some built-in client-server type capabilities.   The locator file can be removed manually only by first removing its read only attribute or by using the Gateway Locator Utility.  Removing it would solve the status code 161 but if the gateway locator is not set, then the first PC to open the data files becomes the gateway computer and that can lead to a number of problems (if for example that first PC is then shutdown after other PC's have accessed the data while it was still the "traffic cop").    We would therefore highly recommend always making a gateway assignment when using the Actian/Pervasive workgroup engines.

When migrating the data folder(s) of a system to a new computer, all of the data and related INI files (and usually also the software as well) are naturally going to be copied to that new computer.  But this then will pick-up the locator file.  Then, when trying to run the software even after deauthorizing and re-authorizing the license via the Pervasive License Administrator, an error 161 may result since it will be the old server/gateway with the deauthorized license that new server/gateway as well as the other workgroup engines will be looking for.   If the old server/gateway is off-line, instead of an error/status code 161, a status code 11 (invalid file name) or some other status code might be returned, and it may also take a long time before that error is returned while the database engine/Windows tries to find the old server name.

To resolve, a new gateway assignment needs to be made.   The new server name would be entered under "Enter the computer name of the gateway" and this would be run directly on that same computer:





Without re-booting, it should then be possible to run the application that accesses the data files without getting a status code 161 or some other error, both from the gateway PC as well as from other computers with an installed Pervasive workgroup engine (and assuming those other PC's have been pointed to the NEWSERVER name in the Pervasive license administrator which needs to be run on each PC in the workgroup).