Hi Toddy,
If you have the analysis available on disk, you could use Hdeclare.
I use this code to transfer file content from an external analisys:
HDeclare("Personel",EditAnalysis,"","Imp")
HChangeDir("Imp",EditData)
ProgressBar1..Text="Transfer in progress..."
ProgressBar1=1
ProgressBar1..MaxValue=HNbRec("Imp")
ProgressBar1..Visible=True
HCreation(Personel)
FOR ALL "Imp" on "PersNr"
ProgressBar1++
IF NOT DateValid({"Imp.DateExit",indItem}) THEN
HReset(Personel)
HCopyRecord(Personel,"Imp")
HAdd(Personel)
HErrorDuplicates()
HErrorIntegrity()
END
END
HCancelDeclaration("Imp")
Regards,
Piet
Edited 1 time(s). Last edit at 07/08/2009 06:06PM by Piet van Zanten.