NetTalk Central

Author Topic: Signature  (Read 5848 times)

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Signature
« on: April 15, 2015, 06:04:16 AM »
Anyone using SQL Backend and using signatures? The example uses TPS files and field type of Memo64k but that does not exist in a SQL Table. I tried to use a Blob but I get compile errors. I tried using a local variable but again no memo and String64k did not work.

Cheers,

Kevin

debraballenger

  • Newbie
  • *
  • Posts: 49
    • View Profile
    • Email
Re: Signature
« Reply #1 on: April 15, 2015, 07:48:17 AM »
Hi Kevin,

In SQL I use a varchar(max) datatype, and in Clarion a string 1650000

HTH

Debra

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
Re: Signature
« Reply #2 on: April 15, 2015, 11:16:32 AM »
Hi Debra,

I'm curious. How did you end up with that number (1650000)? Did you do some kind of magic calculations or was it trial & error or you just made it 'big'?

Peter

debraballenger

  • Newbie
  • *
  • Posts: 49
    • View Profile
    • Email
Re: Signature
« Reply #3 on: April 15, 2015, 12:36:05 PM »
I think I got that number from memo field settings from DMC.


kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Signature
« Reply #4 on: April 15, 2015, 03:36:25 PM »
Hi Deb,

just to clarify, in your dictionary you define the field as String 1650000? I use FM3 to handle table changes so i'm not sure what that would reconcile to on the back end.

Cheers,

Kev

debraballenger

  • Newbie
  • *
  • Posts: 49
    • View Profile
    • Email
Re: Signature
« Reply #5 on: April 15, 2015, 04:06:33 PM »
Yes that is the correct length.  I don't use fm3, but in the backend I use a varchar(max).  I think you can override fm3 though to specify the datatype.


kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Signature
« Reply #6 on: April 15, 2015, 09:13:08 PM »
Thanks Deb - I couldn't get it to work so I tweaked the MSSQL example with your suggestions and sent it to Bruce for further analysis.

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Signature
« Reply #7 on: April 28, 2015, 10:33:45 PM »
Hi All,

Anyone that has got the signature working in SQL can you take a look at the modified example 73 and tell me where I have gone wrong? The example uses FM3,

Cheers,

Kevin

[attachment deleted by admin]