Dear Experts, I got error at reading time(line number 130). Please give me a solution. [Function:ReadFile] Variable : ReportText 101 : Set : ReportText : "" 110 : OPEN FILE : $(AppINIConfig, "AppINIConfig").ExportPath+"\BalanceSheet.htm" : Text : Read 120 : While : NOT $$FileIsEOF 130 : Set : ReportText : ##ReportText+$$FileRead 131 : End While 140 : CLOSE FILE 150 : WALK COLLECTION : UpdateDB 160 : Msg Box : After : "After Walk Collection" 170 : END WALK
I got Error and rectified. [Function:ReadFile] Variable : ReportText ;;: String 10 : OPEN FILE : $(AppINIConfig, "AppINIConfig").ExportPath+"\BalanceSheet.txt": Text : Read 20 : WHILE : (TRUE) 31 : Set : ReportText : ##ReportText+$$FileRead 40 : IF : $$FileIsEOF 50 : BREAK 60 : END IF 70 : END WHILE 80 : CLOSE FILE 90 : WALK COLLECTION : UpdateDB 110 : END WALK