Jun-16-2020, 05:03 PM
I'm trying to make a if statement to check an see if my visual foxpro dbf file is at the end or not ? Any suggestions? Since Python doesn't use EOF().
Here I am opening the database , my for loops iterate through the dbf file but I want it where I can see if it's eof first else iterate.
Here I am opening the database , my for loops iterate through the dbf file but I want it where I can see if it's eof first else iterate.
mhvupload_table = DBF('C:\Sonichr\\mhvupload.DBF', recfactory=None,load =True,ignore_missing_memofile=True) for mhvupload_rec in mhvupload_table: