All messages should be posted in plain text.  HTML will be converted to
attachments.    The meditech-l web site is MTUsers.com
======================================

Hi Meditech L,

 

            I am new to custom defined screens and custom defined fields. We have set up fields for two additional contacts in ADM using a PT REG screen. I am looking to find a way to have the City, State and Zip fields fill in when entering the zip code into the city field. Below is the current attribute I have for the City field.

 

FCL1=IF{A?5N 1,

FCL1=IF{%ADM.PAT.check.zipcode(A)^TEMP'="Z"

FCL1= TEMP|0^A,TEMP|1^/ST,TEMP|2^/ZIP}}

 

When entering a zip code into the city field and move on to the next field the City field is populated by the city from the zip code dictionary (if there is a zip code there). I am having a problem filling in the state and zip code fields from this point on. I have followed instructions from different sites with attribute help, but unfortunately I have not found a solution. I tried using this IFE statement in the state field, which will show the state from the zip code lookup, but will not save the information when filing the screen:

 

IFE=IF{/ST P(ZR,ZC,/ST^/[ANS%0,/S.LAST.QUERY]|0)^#,""}

 

I am not sure if this is not working because we are Client/Server and the resources I’m using are based on the Magic platform or if there is a problem with the attributes I am using.

 

Also, if anyone has a website that has information about attributes for Client/Server and wouldn’t mind sharing it with me, I would appreciate it.

 

Thank you,

James Dio

_______________________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l

Reply via email to