Category Archives: Foxpro

Table based definition of Parent-Child relationships in wwBusinessPro

The wwBusinessPro data access library supports table-based definitions of the Business Objects used in an application. This also allows you to define Parent-Child relationships between the records and tables in your app. You can download wwBusinessPro from the project hosted … Continue reading

Posted in Foxpro, West Wind | Leave a comment

Visual FoxPro on Windows 8

Want to know if Visual FoxPro 9 will run on Windows 8?  Well, find out below… I downloaded the Windows 8 Developer Preview the first evening that Microsoft made it available to the public. I had watched the BUILD keynote … Continue reading

Posted in Foxpro, Windows 8 | 16 Comments

I Love Me Some Business Objects

Here is the beautiful stack of Business Object classes for my Line of Business CRUD app (see image below). The Job object (highlighted in the screenshot), in particular, is populated with tons of little worker methods to handle all the … Continue reading

Posted in Foxpro, General Coding | Leave a comment

Creating a Parent Business Object with wwBusinessPro

When using a wwBusProParent, you set properties on the Parent that tell it about the Child class.Then, the Parent will create the Child class for you. You do not create the Child when writing your code, let the Parent do … Continue reading

Posted in Foxpro, West Wind | 2 Comments

wwBusinessPro–Parent Child collections in a wwBusiness business object

Note: This post if part of a complete series on the West Wind wwBusiness library.Click here to see the full index   Before we start digging into parent/child data access with wwBusinessPro, let’s have a review of the basics. Suppose … Continue reading

Posted in Foxpro, West Wind | Leave a comment

FoxPro Report FRX Table Structure

Visual FoxPro 9 Report (FRX) Table Structure Here is a link to a table showing all the field names and details for Visual FoxPro 9 Report (FRX) files. This table also applies to Label (LBX) files. Click here: FoxPro-Report-FRX-Structure.html The … Continue reading

Posted in Foxpro | Leave a comment

Go To File – A quick Open File dialog for Visual Foxpro

Here’s a new tool I’ve written for Foxpro to add a cool feature for quickly opening a file by entering part of its filename. It’s a fast heads-down way to navigate files in your Project or the Current Directory. Just … Continue reading

Posted in Foxpro | 1 Comment

FoxPro class to generate SCCText for all files in a Project

If you want to place your FoxPro source code files in a Source Code Repository of some sort, you usually need to generate text file versions of your table-based FoxPro files like SCX, VCX, and FRX. These text versions of … Continue reading

Posted in Foxpro | 4 Comments

Writing tests for Business Objects in FoxPro

I’ve blogged before about converting my FoxPro apps from application forms to the Business Object based programming approach (thereby moving away from forms based heavily on open tables, work areas, and relations). I used the West Wind wwBusiness classes to … Continue reading

Posted in Foxpro | 1 Comment

Extracting Enum values from an assembly file using the Object Browser in FoxPro

Thanks to a helpful comment from Doug Hennig, I’ve learned how to use the Object Browser in Foxpro to extract Enum values from an assembly file right into a .h file inside of FoxPro.  By an “assembly”, I mean a … Continue reading

Posted in Foxpro, General Coding | Leave a comment