Signature Insertion best solution?

  • Follow


Using FM7 Pro: WinXP Pro.
I'm try to figure the best way to enter various unique signatures. I have a 
dropdown list which allows the user to determine which signature is called 
for. From my reading, I get the feeling the best way is to create a 
container field so I can place captured signatures (I have a Topaz signature 
pad) in BMP format. Do I create a script so that if a name is picked from 
the dropdown list, go to container field and insert signature BMP? And if 
so, could give me a script for doing so as I'm still trying to get the hang 
of this. Any other suggestions are appreciated. My goal is to have the 
signature for the patient record........before I print it out.
Thank you. 


0
Reply Warren 12/5/2004 12:15:43 AM

In article <6ussd.1231$bm3.1119@fe12.lga>, "Warren Grand"
<wgrand@optonline.net> wrote:

> Using FM7 Pro: WinXP Pro.
> I'm try to figure the best way to enter various unique signatures. I have a 
> dropdown list which allows the user to determine which signature is called 
> for. From my reading, I get the feeling the best way is to create a 
> container field so I can place captured signatures (I have a Topaz signature 
> pad) in BMP format. Do I create a script so that if a name is picked from 
> the dropdown list, go to container field and insert signature BMP? And if 
> so, could give me a script for doing so as I'm still trying to get the hang 
> of this. Any other suggestions are appreciated. My goal is to have the 
> signature for the patient record........before I print it out.
> Thank you. 

Depending on what else you're trying to do you probably don't need a
script at all, just a few fields:

   - Use the pop-up menu/list field (UserName) where the user
     chooses their name. Make sure to set the field's validation
     options are set to not allow it to be empty to make sure
     a name and signature are being used.

   - have a set of Global Container fields (g_Sig1, g_Sig2, etc.)
     to store each signature. You'll need to put these on a layout 
     temporarily so that you can Insert the various signature 
     images (linked is probably better than actually being stored), 
     but after that you can remove them from the layout.

   - have a Calculated field (PrintSig) which returns a container 
     result by the calculation:
           Case (UserName = "Person 1", g_Sig1,
                 UserName = "Person 2", g_sig2,
                 etc.)
     making sure that the name matches the appropriate signature.
     Put this PrintSig field on the layout that gets printed and 
     you're all done.

Try to use TIFF, GIF or JPEG images rather than the over-bloated BMPs,
especially if you're storing the graphics.


The only problem here might be if you later change a signature (eg.
someone leaves) then the Calculation field in all the old records will
recalculate with the new signature graphic. The easiest way around this
is to simply not change the signatures - leave all the old ones and
just add an extra g_Sig fields for anyone who's new (remembering to
also add a new line to the Calculated Case function).



Helpful Harry                   
Hopefully helping harassed humans happily handle handiwork hardships  ;o)
0
Reply Helpful 12/5/2004 2:13:56 AM


1 Replies
168 Views

(page loaded in 0.083 seconds)

Similiar Articles:













7/17/2012 1:55:50 AM


Reply: