NetTalk Central

Author Topic: export files to the client PC  (Read 2654 times)

ralonso2001

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • Qúbigo ERP
    • Email
export files to the client PC
« on: April 15, 2013, 04:49:57 PM »
Although NetTalk is client server
I need to export txt, csv to client pc, any idea or example?

thanks
Regards,
Rodrigo Alonso
Mendoza - Argentina

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: export files to the client PC
« Reply #1 on: April 15, 2013, 11:02:58 PM »
So you will create the txt file or csv file on the server? That's trivial to do using normal Clarion code.
There's an example (the Excel one) which creates an Excel file, using Office Inside. If you don't have Office Inside the example is
probably still useful because it shows the "creation of a file" in an app - which I think is what you're after.

cheers
Bruce



ralonso2001

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • Qúbigo ERP
    • Email
Re: export files to the client PC
« Reply #2 on: April 16, 2013, 04:36:38 AM »
office inside NetTalk integrates with exports to a client pc?.

The problem I had is that exports are saved on the server
Regards,
Rodrigo Alonso
Mendoza - Argentina

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: export files to the client PC
« Reply #3 on: April 16, 2013, 05:45:26 AM »
correct, exports are always created on the server, because the data is on the server, not on the browser, and because browsers have very little ability to write files to the local drive.

So you create the file on the server, then allow the user to click on a link to download the file. the Progress control is very good for this.

cheers
Bruce