Dear Michael,
I've been trying to figure out the best way to use coding to create a list of leins for a letter of billing that has several possible other choices. We usually have 5-10 liens. I wanted it in the format:
Leins to be paid:
Dr. John Smith 3/20/2002 $500
Dr. Fred Willis 6/30/2002 $700
etc...
At first I used the getlist with the input2 command and asked to insert the doctors, dates, and leins BUT it came out:
Leins to be paid:
Dr. John Smith 3/20/2002 $500
Dr. Fred Willis 6/30/2002 $700
etc...
(Notice the line after the 1st doctor no longer has the correct spacing)
So I thought input4 might be more useful. Rather than attempting to have code for all liens, I was attempting to just try it for at first 1 lein. I figured I could duplicate the info for the Getlist so that it would have the choices:
Lein 1
Lein 2
Lein 3
So I created:
>
Something in my coding doesn't work.
Plus, is there a better way to do this? Could I ask the individual to choose the # of leins and then I could have something run that # of times?
Possible Bug Issue
When using this code:
>
>
Ran Print - After selecting a doctor got this error message:
The information you have entered for [[command = assign has an error in it. A1-Law could not interpret the following line: \'93Dr." + trim(card.last) + \'93:\'94
For some reason the program is treating the first apostrophe as \'93
If you directly pull an area of code from Help Menu - Form Command - Input
>
and attempt to use it.
Get the same type of error regarding the \'93.
Also treats ' in Input 4 when asking info as \'93
so in the pop-up box
Insert Doctor's Name becomes "Insert Doctor\'93s name"
Thanks again!
Sincerely,
Michael Lerner
Lerner, Moore, Mammano, Strasser, and Silva
www.injuryatwork.com
(909) 889-1131
Getlist, Input4, Memory, and a Possible Bug
-
Michael Appell
Re: Getlist, Input4, Memory, and a Possible Bug
Hi Michael,
I really think you should use the GetCaseAct command as I suggested in my previous reply. It has so many advantages for automatically serving meds and liens. If you insist on doing it this way:
Dr. [[command = memory 41]] [[command = memory 42]] $[[command = memory 43]]
You need to consider inserting a TAB instead of a space and then everything will line up properly. I may need to show you how this is all formatted using pc Anywhere.
>
>
>
Also, you may automatically select the first doctor in the list (without having to prompt the user) if you know the category. Example:
>
However, you are correct that sometimes you cannot just directly cut and paste from the help file. Part of it depends on where you do your cut and paste.
Mike
I really think you should use the GetCaseAct command as I suggested in my previous reply. It has so many advantages for automatically serving meds and liens. If you insist on doing it this way:
Dr. [[command = memory 41]] [[command = memory 42]] $[[command = memory 43]]
You need to consider inserting a TAB instead of a space and then everything will line up properly. I may need to show you how this is all formatted using pc Anywhere.
>
>
>
Also, you may automatically select the first doctor in the list (without having to prompt the user) if you know the category. Example:
>
However, you are correct that sometimes you cannot just directly cut and paste from the help file. Part of it depends on where you do your cut and paste.
Mike