NetTalk Central

Author Topic: Signature field type in MSSQL  (Read 4014 times)

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Signature field type in MSSQL
« on: June 20, 2017, 11:19:59 PM »
We are using signatures in a Web application. If we use tps and set the field as a memo there is no problem.
What I would like to do is store the field in an MSSQL table. I have tried various data types Cstring, String and Blob but have had no luck in storing the data in these fields.
Is it possible, and if so, is there an example.
Should I bring it up during the Webinar tomorrow?
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
Re: Signature field type in MSSQL
« Reply #1 on: June 20, 2017, 11:25:06 PM »
Hi Terry,

Try varbinary(max) - assuming the signature is stored as an image.

Peter

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Signature field type in MSSQL
« Reply #2 on: June 21, 2017, 04:27:46 AM »
Hi Terry,

as I recall the signature is saved as a large text string. So a VarChar should do it I think?

cheers
Bruce