Welcome to Foxite.COM Community Weblog Sign in | Join | Help

VFP Tips and Tricks (RSS)

Access and Assign methods can be useful!

Access and Assign methods were introduced into VFP back inversion 6.0, but for many developers they are still very much an "unknown feature". My objective today is to show a couple of examples of where Access and Assign methods can be very useful. Let's
posted by andykr | 2 Comments
Filed Under:

Useful Utilities (at least, I think they are)

Like all developers, whatever their preferred language or environment, I have my own personal set of tools and utilities that I use to make life a little easier for myself. Although not particularly generic, or even clever, I find that these little things
posted by andykr | 2 Comments
Filed Under:

Code in Methods, not Events. But why????

One of our favorite maxims is “Always code in methods, not events” and I am often asked exactly what we mean by that, and why it matters. After all, VFP provides us with a perfectly workable command button class, that has a Click() event into
posted by andykr | 2 Comments
Filed Under:

The importance of Paths in VFP

One of the commonest problems that I see in on-line forums is related to how Visual FoxPro works with files. In this respect the project manager is both a blessing and a curse! A blessing because, as long as we work through the project manager, it handles
posted by andykr | 10 Comments
Filed Under: ,

Using a "Safe Select" to preserve your grid

A common problem when working with local cursors in VFP is that when they are used as the record source for a grid re-querying the cursor causes the grid to lose some, or all, of its settings. The reason that this happens is that whenever you execute
posted by andykr | 15 Comments
Filed Under: ,