Diary of a Visual FoxPro Programmer

John Ver Voorn

Reason for this page

I am planing on rewriting a Database system in Visual FoxPro, and I thought I could provide hints and tricks to those just starting and to get feedback from people more knolegable then me. The initial plan here is to provide a LEAST 1 message a week about what I plan on doing or what I did.

This page was orginaly Created on 08/23/95.

Q1: I get an error when I start FoxPro, about POINTER.DLL.

A1: Get the current driver off the internet from ftp.micorsoft.com!

Q2: Scrolling throught my project manager leaves phantom lines and is just plain confusing.

A2: Get the current driver for my ATI MACH32 for windows 3.1!

Q3: I want to type in a date and have the grid populate with data from that data that is in my database, or more genaricly have a form drive a querry and have the querry populate the grid. The data is in a grid, I used a SQL querry to populate a cursor and have the source of the grid be a alias, but if I reissue the SQL with DO CLCLASS.QPR the grid becomes solid white, now I did get it to work by using a filter on the orginal table, but just like a browse if you go up past the first or down past the last you get too long of a wait! ANY IDEAS? A4: This one is trickey, a scan of the Micosoft Knowledge Base found a partial answer in article Q131836.

The resolution: to refresh the grid in this situation, set get Grid's RecordSource property to itself as in this example:

thisform.grid1.recordsource=thisform.grid1.recordsource

Q5: Setting a variable to itself doesn't make sence? This behavior is by design???

A5: Well it works, so whatever!!??!!??

Q6: I wanted to show some screen shots in this WebPage, Either only shows Top quarter inch or if I do it another way I get garbage?

A6: May be my video card, I need help with this one.

Q7: