NetTalk Central

Author Topic: Clearing Buffer  (Read 148 times)

Richard I

  • Sr. Member
  • ****
  • Posts: 422
    • View Profile
    • Email
Clearing Buffer
« on: July 16, 2026, 04:15:10 PM »
Hello

CSV file issues in  NTWeb Form
Writing to a BASIC  datatable
Wanting to export from that.
Procedure is
Open App run a creation and export of a CSV file -File is correct
repeat with session still open but different selections
New file created in parent folder but the original CSV file exported,
Despite Coding the removal of the existing file first
Not using a Queue

Is the original "locked in the Buffer" in which case how to remove so that the downloaded file is the correct one, programmatically, please?

It subsequently appears to be that the DownloadBrowse  from the FileDownload example from a remote application caching the earlier file as the created file is correct.
w
Richard
NT 14.38
« Last Edit: July 16, 2026, 09:50:24 PM by Richard I »

osquiabro

  • Hero Member
  • *****
  • Posts: 717
    • View Profile
    • Email
Re: Clearing Buffer
« Reply #1 on: July 17, 2026, 02:58:03 AM »
i have a similar program but i use this for a name of the file Glo:FileName = clip(p_web.site.WebFolderPath) & '\uploads\$$$Licensees'&random(1,999)&'.xlsx'

Richard I

  • Sr. Member
  • ****
  • Posts: 422
    • View Profile
    • Email
Re: Clearing Buffer
« Reply #2 on: July 17, 2026, 02:19:23 PM »
Thank you very much
Im going to use clock() and an increasing  number ( to accomodate more than one send per day, so I can change the Filedownload Example to recognise the latest name..
Much obliged
Regards,
Richard