mkrausnick
Programmer
I'm testing my VFP8 app in VFP9 and I have run into a problem I don't understand.
1. I have the following code that fixes invalid IDs in import data (invalid IDs are converted to asterisks in a prior step):
The ID field in import1 is c(9), and the ID tag expression is "ID" ascending. The import1 table is created via ZAP followed by APPEND FROM ... TYPE SDF.
What happens is that the do loop runs ok through part invalid IDs and then decides it's done. It varies in different test runs on the same data from processing almost none to processing about 3/4 of them. I stuck a SET STEP ON in the middle of the do loop so I could look at the problem, and of course, it proceeded to process all IDs correctly.
Any ideas? Is there a patch or service pack I don't know about?
Mike Krausnick
Dublin, California
1. I have the following code that fixes invalid IDs in import data (invalid IDs are converted to asterisks in a prior step):
Code:
DO WHILE INDEXSEEK("*********",.T.,"import1","ID")
.
. code that calculates valid ID
.
REPLACE ID WITH Calculated_ID
ENDDO
The ID field in import1 is c(9), and the ID tag expression is "ID" ascending. The import1 table is created via ZAP followed by APPEND FROM ... TYPE SDF.
What happens is that the do loop runs ok through part invalid IDs and then decides it's done. It varies in different test runs on the same data from processing almost none to processing about 3/4 of them. I stuck a SET STEP ON in the middle of the do loop so I could look at the problem, and of course, it proceeded to process all IDs correctly.
Any ideas? Is there a patch or service pack I don't know about?
Mike Krausnick
Dublin, California