Packing tables with FinalBuilder

We use FinalBuilder to package our bi-monthly updates of our FoxPro DOS pharmacy application. It’s a set of multiple FinalBuilder files with hundreds of individual actions. One of the tasks involves creating a clean set of DBF files for specific modules that we ship to our clients when their version got corrupt.
Read More…

Significant digits in Visual FoxPro

Steve Bodnar asked an interesting question on Twitter yesterday. Why does he get different results for the following two lines?
Read More…

Unit tests


There are some topics that I've been talking about for years at conferences, user group meetings, in articles, and so forth. One of these topics is code quality. My recent attempt to increase code quality of my fellow developers was the introduction of test-driven development.
Read More…

Implementing SmartCopy

The following program implements sort of a smart copy in Visual FoxPro. When something is selected, the selected
text is copied. Otherwise the entire current line. So far, only Ctrl+C is implemented.
Read More…

Locking done quickly

Joel Leach pointed out on Twitter that the following code accomplishes the same even though Visual FoxPro's documentation states that SET REPROCESS TO 0 SECONDS is an invalid statement:
Read More…