coba dengan fungsi  FileDelete() n FileCopy(), cek argumen nya di PbHelp 

________________________________
From: NASRULLAH ARUL <[email protected]>
To: [email protected]
Sent: Mon, May 30, 2011 9:31:50 AM
Subject: [indopb] DeletefileA CopyFileA

  
rekan2 ane mau tanya kenapa srip ini tidak bisa berjalan di pb 11.5 , tapi 
kalau 
di jalanin di pb 5 scrip ini bisa di jalankan.thanks

string l_from, l_to, l_file, l_from1, l_to1, l_file1, l_path1, l_to2
boolean l_flag,rtn, l_flag1, l_rtn1, l_rtn2

l_flag =false
l_from = string(sle_file.text)
l_to = "D:\template.txt"

rtn = DeleteFileA(l_to)
rtn = CopyFileA(l_from, l_to, l_flag)

dw_import.SetTransObject(sqlca)
dw_import.reset()

ll_rows = dw_import.ImportFile(l_to)
 

Kirim email ke