Macro length
Submitted by Guest on Thu, 30/07/2009 - 15:39
Hi All,
When trying to add macro's or edit existing ones for consult line headings etc I am coming up with an error message saying that i cannot use more than 255 characters - this has happened even if I am editing an existing macro and replacing a current section with a new one with less characters and spaces.
Is it possible to remove this maximum limit?
Cheers,
Nick
Re: Macro length
The macro expression size is currently set to a maximum of 2000 characters although it can be easily set to up to 5000. Not sure why yours is being limited to 255.
The description field which is automatically derived from the code and name is limited to 255 characters though but typically these would not be this large.
May need to do some investigation with you to work out what is happening.
Is anyone else having this issue ?
Cheers Tony
On 30/07/09 2:39 PM, "Paradisevets@Internode. Net" :
> Hi All, > > When trying to add macro's or edit existing ones for consult line headings etc > I am coming up with an error message saying that i cannot use more than 255 > characters - this has happened even if I am editing an existing macro and > replacing a current section with a new one with less characters and spaces. > > Is it possible to remove this maximum limit? > > Cheers, > > Nick > _______________________________________________ > OpenVPMS User Mailing List > users@lists.openvpms.org > To unsubscribe or change your subscription visit: > http://lists.openvpms.org/listinfo/users > Posts from this mailing list can be viewed online and replied to in the > OpenVPMS User's forum- http://tinyurl.com/openvfu_______________________________________________ OpenVPMS User Mailing List users@lists.openvpms.org To unsubscribe or change your subscription visit: http://lists.openvpms.org/listinfo/users Posts from this mailing list can be viewed online and replied to in the OpenVPMS User's forum- http://tinyurl.com/openvfu
Re: Macro length
Matt C
On Fri, 31 Jul 2009 08:57:26 +1000, Tony De Keizer
wrote: > Hi Nick, > > The macro expression size is currently set to a maximum of 2000 characters > although it can be easily set to up to 5000. Not sure why yours is being > limited to 255. > > The description field which is automatically derived from the code and name > is limited to 255 characters though but typically these would not be this > large. > > May need to do some investigation with you to work out what is happening. > > Is anyone else having this issue ? > > Cheers > Tony > > > On 30/07/09 2:39 PM, "Paradisevets@Internode. Net" : > >> Hi All, >> >> When trying to add macro's or edit existing ones for consult line >> headings etc >> I am coming up with an error message saying that i cannot use more than >> 255 >> characters - this has happened even if I am editing an existing macro and >> replacing a current section with a new one with less characters and >> spaces. >> >> Is it possible to remove this maximum limit? >> >> Cheers, >> >> Nick >> _______________________________________________ >> OpenVPMS User Mailing List >> users@lists.openvpms.org >> To unsubscribe or change your subscription visit: >> http://lists.openvpms.org/listinfo/users >> Posts from this mailing list can be viewed online and replied to in the >> OpenVPMS User's forum- http://tinyurl.com/openvfu > > > _______________________________________________ > OpenVPMS User Mailing List > users@lists.openvpms.org > To unsubscribe or change your subscription visit: > http://lists.openvpms.org/listinfo/users > Posts from this mailing list can be viewed online and replied to in the > OpenVPMS User's forum- http://tinyurl.com/openvfu >_______________________________________________ OpenVPMS User Mailing List users@lists.openvpms.org To unsubscribe or change your subscription visit: http://lists.openvpms.org/listinfo/users Posts from this mailing list can be viewed online and replied to in the OpenVPMS User's forum- http://tinyurl.com/openvfu
Macro editing
Tony, Matt
The following is the red error box dialog - 'Failed to validate Code of Macro: Field must contain at most 255 characters'
I did a count in the macro dialog and the ones I have been trying to edit already have a character count of about 300 and are saved ok as such.
Even if I try to edit and add just 3 extra characters and clcik alt_y / apply it comes up with the above error
Nick
Re: Macro editing
The error message is saying that you are trying to make the code of the macro larger than 255 characters. The code is the macro abbreviation not the actual expression you want the macro abbreviation to be replaced with. It kind of suggests you are editing the code field rather than the expression field when editing the macro lookup ??
Cheers Tony
On 31/07/09 1:20 PM, "Paradisevets@Internode. Net" :
> Tony, MattNick _______________________________________________
OpenVPMS User > Mailing Listusers@lists.openvpms.org
To unsubscribe or change your > subscription visit:http://lists.openvpms.org/listinfo/users
Posts from this > mailing list can be viewed online and replied to in the OpenVPMS User's forum- > http://tinyurl.com/openvfu_______________________________________________ OpenVPMS User Mailing List users@lists.openvpms.org To unsubscribe or change your subscription visit: http://lists.openvpms.org/listinfo/users Posts from this mailing list can be viewed online and replied to in the OpenVPMS User's forum- http://tinyurl.com/openvfu
Macro editing
Tony,
Definitely editing in the 'expression' field
Nick
Re: Macro editing
Tim managed to work out was is happening. On editing macros the macro code is being expanded just it would be if you entered the code in a text field. If the expression is larger than 255 characters it is being expanded to a size which is too large for the code field.
The code is not updated on save but the validation still checks it size and gives the error.
A trick one but Tim has already fixed in the latest release. Well done Tim.
Thanks for finding this for us Nick :-)
Cheers Tony
On 31/07/09 3:05 PM, "Paradisevets@Internode. Net" :
> Tony, Definitely editing in the 'expression' > fieldNick _______________________________________________
OpenVPMS User > Mailing Listusers@lists.openvpms.org
To unsubscribe or change your > subscription visit:http://lists.openvpms.org/listinfo/users
Posts from this > mailing list can be viewed online and replied to in the OpenVPMS User's forum- > http://tinyurl.com/openvfu_______________________________________________ OpenVPMS User Mailing List users@lists.openvpms.org To unsubscribe or change your subscription visit: http://lists.openvpms.org/listinfo/users Posts from this mailing list can be viewed online and replied to in the OpenVPMS User's forum- http://tinyurl.com/openvfu
Re: Macro editing
On Sun, 02 Aug 2009 10:13:26 +1000, Tony De Keizer
wrote: > Hi Nick, > > Tim managed to work out was is happening. On editing macros the macro code > is being expanded just it would be if you entered the code in a text field. > If the expression is larger than 255 characters it is being expanded to a > size which is too large for the code field. > > The code is not updated on save but the validation still checks it size and > gives the error. > > A trick one but Tim has already fixed in the latest release. Well done > Tim. > > Thanks for finding this for us Nick :-) > > Cheers > Tony > > > > On 31/07/09 3:05 PM, "Paradisevets@Internode. Net" : > >> Tony, > Definitely editing in the 'expression' >> field > > Nick > _______________________________________________ > OpenVPMS User >> Mailing List > users@lists.openvpms.org > To unsubscribe or change your >> subscription visit: > http://lists.openvpms.org/listinfo/users > Posts from this >> mailing list can be viewed online and replied to in the OpenVPMS User's >> forum- >> http://tinyurl.com/openvfu > > > _______________________________________________ > OpenVPMS User Mailing List > users@lists.openvpms.org > To unsubscribe or change your subscription visit: > http://lists.openvpms.org/listinfo/users > Posts from this mailing list can be viewed online and replied to in the > OpenVPMS User's forum- http://tinyurl.com/openvfu >_______________________________________________ OpenVPMS User Mailing List users@lists.openvpms.org To unsubscribe or change your subscription visit: http://lists.openvpms.org/listinfo/users Posts from this mailing list can be viewed online and replied to in the OpenVPMS User's forum- http://tinyurl.com/openvfu
Re: Macro editing
On Fri, 31 Jul 2009 03:20:40 +0000 (UTC), paradisevets@internode.on.net
wrote: > Tony, Matt > > The following is the red error box dialog - 'Failed to validate Code of > Macro: Field must contain at most 255 characters' > I did a count in the macro dialog and the ones I have been trying to edit > already have a character count of about 300 and are saved ok as such. > Even if I try to edit and add just 3 extra characters and clcik alt_y / > apply it comes up with the above error > > Nick > _______________________________________________ > OpenVPMS User Mailing List > users@lists.openvpms.org > To unsubscribe or change your subscription visit: > http://lists.openvpms.org/listinfo/users > Posts from this mailing list can be viewed online and replied to in the > OpenVPMS User's forum- http://tinyurl.com/openvfu >_______________________________________________ OpenVPMS User Mailing List users@lists.openvpms.org To unsubscribe or change your subscription visit: http://lists.openvpms.org/listinfo/users Posts from this mailing list can be viewed online and replied to in the OpenVPMS User's forum- http://tinyurl.com/openvfu
Merge Fields
Matt, Tony,
Below copied one of the Expression fields I am trying to edit:
'REASON:
HISTORY:
Last Well:
Last Ate:
Medical Hx:
Diet:
Current Vacc / HW / Worming :
Companions:
Environment:
EXAM: HR Pulse CRT MM RR T*
CV:
Resp/Chest:
U/G:
GIT:
Neuro:
Mu/Sk:
Derm:
Eyes:
Ears:
Other:
ASSESSMENT / PROBLEMS:
PLAN:
TREATMENT:
FOLLOW UP: '
Nick
Re: Macros
Can reproduce now.
Works Ok on adding a macro but if subsequently edit the macro , even deleting some characters gives this bogus error.
Will investigate further and see what is causing it :-)
Cheers Tony
On 31/07/09 3:42 PM, "Paradisevets@Internode. Net" :
> Matt, Tony,'REASON:
HISTORY: Last Well: Last Ate:
Medical > Hx:Diet: Current Vacc / HW / Worming :
Companions: >Environment:
EXAM: HR Pulse CRT MM RR T*
CV: >Resp/Chest: U/G: GIT: Neuro:
Mu/Sk: >Derm: Eyes: Ears: Other:
ASSESSMENT / > PROBLEMS:PLAN:
TREATMENT:
FOLLOW UP: > 'Nick _______________________________________________
OpenVPMS User > Mailing Listusers@lists.openvpms.org
To unsubscribe or change your > subscription visit:http://lists.openvpms.org/listinfo/users
Posts from this > mailing list can be viewed online and replied to in the OpenVPMS User's forum- > http://tinyurl.com/openvfu_______________________________________________ OpenVPMS User Mailing List users@lists.openvpms.org To unsubscribe or change your subscription visit: http://lists.openvpms.org/listinfo/users Posts from this mailing list can be viewed online and replied to in the OpenVPMS User's forum- http://tinyurl.com/openvfu
macro length
I remember this topic coming up ages ago.
I am have the same problem now.
I have various macros saved and then if I want to modify or even shorten I am getting the same error message " Failed to validate Code of Macro. Field must contain at most 255 characters".
Even if I edit and do nothing but try to inactivate it I get the same code.
Has anyone come up with an answer to this yet? Back in August apparently Tim had "fixed" this problem for the next release. Is there any way around this problem at the moment?
I was a little exuberant and thought I would make a macro for some of the more common surgeries. Silly me labelled one "cruciate" so now any time anyone writes cruciate they get my macro!
Re: macro length
On Fri, Nov 13, 2009 at 9:52 AM, <croydonvet@bigpond.com> wrote:
Macro length
I am having trouble with this now to the point that I cannot even enter very short macros without it giving me the 255 error. Very frustrating!!
Amanda
Amanda Hulands-Nave Bellarine Veterinary Practice
Re: Macro length
Macro length
Amanda,
Did you get around this problem. If so can you tell me how you did it please.
MRR
Macro length
No MRR,
I have given up for now. Tony is loading our new version on tomorrow night so waiting until then.
Amanda
Amanda Hulands-Nave Bellarine Veterinary Practice