Tranfer records with large long fields (photos). program seems to have a memory leak as around 20,000 to 25,000 recs the program returns an out of memory error. the program is simply two datasets, looping one and appending and posting the new data to the other dataset. The long field uses the assign() function to tranfer the long data. Is there some free of memory statement that has to be performed after the assign. or is the dataset buffering all the appends in memory and running out at around 20,000 or so recs. Each record size is around 30k to 60k. Do you have any suggestions as to how and prevent this error.