Normal Topic Cheque Printing Example in Lantica Library (Read 1064 times)
Louis Galvao
Full Member
***
Offline


"Sufferin' Succatash"

Posts: 265
Location: Canada
Joined: Feb 14th, 2005
Cheque Printing Example in Lantica Library
Dec 6th, 2005 at 4:42pm
Print Post Print Post  
I was looking for this in their library but couldn't locate it for some reason.

I looked here:  http://www.lantica.com/Support/sesame_library.html

Can someone hold my hand and point me to it ?

Thanks,

Louis
  

Louis Galvao
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: Cheque Printing Example in Lantica Library
Reply #1 - Dec 6th, 2005 at 4:48pm
Print Post Print Post  
I know that Tom did an article on this for Inside Sesame in the February 2004 issue.

I am not aware of an example in our library.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1351
Location: New Hampshire
Joined: Mar 11th, 2003
Re: Cheque Printing Example in Lantica Library
Reply #2 - Dec 7th, 2005 at 3:53am
Print Post Print Post  
Louis,

I think what you are looking for is here:
http://www.lantica.com/Files/SampleApps/CodeLibrary.zip

There is a PrintChecks() code sample in the SBasicCodeLibrary.db application.
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged
 
Louis Galvao
Full Member
***
Offline


"Sufferin' Succatash"

Posts: 265
Location: Canada
Joined: Feb 14th, 2005
Re: Cheque Printing Example in Lantica Library
Reply #3 - Dec 7th, 2005 at 1:52pm
Print Post Print Post  
Thanks, Carl.

This is what I was referring to.  Hopefully I can incorporate into my example.

Louis
  

Louis Galvao
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: Cheque Printing Example in Lantica Library
Reply #4 - Dec 7th, 2005 at 3:34pm
Print Post Print Post  
Thanks Carl. I totally forgot about that being in there. I should remember it though as I wrote the usage section of that record. Some of that code also looks vaguely familiar.

btw If anyone ever uses that usage section, there is no need to void that check just let me know and I'll give you an address to send it to.  Wink

Also if anyone has built some generic functions or subroutines that they would like to see in the SBasic Code Library. Send them to Support@Lantica.com and I'll add them in.

or If you have an idea for a generic function or subroutine that may be of help to some people send the idea in and I'll see what I can do

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Louis Galvao
Full Member
***
Offline


"Sufferin' Succatash"

Posts: 265
Location: Canada
Joined: Feb 14th, 2005
Re: Cheque Printing Example in Lantica Library
Reply #5 - Jan 5th, 2006 at 4:31pm
Print Post Print Post  
Ray:

I copied and pasted this code in.  A couple of issues when I test the code:

1. var vGlobalError as Int is not declared in the Function MoneyToWords

2. in the Function Print Check, I am receiveing an error at this code:  vError = vGlobalError

Again the var vGlobalError as Int is not declared in this function, so I placed it in and my tesing removed the errors.  Why does this have to be declared again ?

Also, I did not assign a value to it as there was one in the Function MoneyToWords

The programming works and I printed a sample after I removed reference in the usage code to the printer.

Now I have to tailor the code to my scenario and move things around.

Thanks,

Louis

  

Louis Galvao
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Cheque Printing Example in Lantica Library
Reply #6 - Jan 5th, 2006 at 4:37pm
Print Post Print Post  
It is declared globally. If you look at the record in the SBasicCodeLibrary, you will see the following line as the first line of code:
Code
Select All
Var vGlobalError as Int 

  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
Louis Galvao
Full Member
***
Offline


"Sufferin' Succatash"

Posts: 265
Location: Canada
Joined: Feb 14th, 2005
Re: Cheque Printing Example in Lantica Library
Reply #7 - Jan 5th, 2006 at 5:17pm
Print Post Print Post  
I assume what I have done (other than being redundant) doesn't affect things.

Louis
  

Louis Galvao
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Cheque Printing Example in Lantica Library
Reply #8 - Jan 5th, 2006 at 5:22pm
Print Post Print Post  
It's not redundant and it should be fine.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged