by TimStone » Thu Feb 18, 2016 5:57 pm
Mr. Rao,
In 33 years working with xbase programming, one thing always impresses me. Changes in one part of a program may always have unexpected results in another, and often the reason is not obvious. When I used to attend conferences, that was always a popular topic of discussion.
You will notice a common theme in my comments. I look for all the things that remain the same when something breaks. The item that changed is likely to be the problem. So, if my code does not change ( and has worked for years ) using FWH xx.xx, and then the next release of FWH suddenly does not work with it, the issue will be a change in the FW code. I always update to the latest release, so I can quickly know at what version the error started occurring. I also keep older versions so I can go back and be sure the program still works on the previous version.
The other thing I do is check the current documentation. I know people do not like to document. It is not the fun part of programming. ( I just rewrote hundreds of pages of documentation on my new version of my primary application. It's not fun, but it is important ). However, if I follow the documentation, I should be able to always avoid problems. So I always look there first. When I first ran into the column problem with xBrowse sizing ( it is still not right ), I checked the documentation. My coding matches it perfectly. However, you told me to use a different command format, which is not documented at all ... and it is still not there ... and so I rewrote hundreds of lines of code. Because of this, I had to ask more questions here which I would not have had to ask if the documentation was correct on the WIKI site.
I look forward to resolving those problems I mentioned above that still exist ( or which have returned ). There is another thread on column spacing that shares another perspective. Are you calculating column size from the content of the field or by the structure ( field width ). It has to be on the structure, and always has been in the past.
Tim