---
title: Find ASCII Codes for keystrokes for use with the FD Footnote in MEDITECH CS
description: Fun MEDITECH report that lets you press any key and get the equivalent ASCII value.
---

[![IPeopleHealthcare_White](https://blog.ipeople.com/hubfs/IPeopleHealthcare_White.png)](https://www.ipeople.com/)

- [Home](https://www.ipeople.com)
- Products 
    - [Professional Services](https://www.ipeople.com/products/meditech-services/)
    - [Downtime Product Suite](https://www.ipeople.com/products/suite)
- [Benefits](https://www.ipeople.com/benefits)
- [About](https://www.ipeople.com/about)
- [Contact](https://www.ipeople.com/contact)
- [IPeople Blog](https://blog.ipeople.com)

February 14, 2022

# Find ASCII Codes for keystrokes for use with the FD Footnote in MEDITECH CS

The Footnote FD (Field Delimiter) requires you to enter the ASCII code for a keystroke.  For instance, 9 is the ASCII code for the <Tab> keystroke.  Instead of looking up these ASCII codes on the internet, you can create an NPR Report that allows you to press the keys and their ASCII codes will be displayed on the screen.  Here are the steps: 

1. Select Report DPM MIS.USER and any report name you like.
2. Add a Report Title: `"_%(MIS)USER..zcus.report.M..s(0)_"`  
   Replace 'report' with the name of your report.
3. Add this Footnote: AL START start
4. File and translate your report.
5.  Add a macro called s with the following code:  
   `  IF{'/GO 1^/GO,1^/Z.PRT.SUPPRESS.PRINTING^/R.FRAGMENT},`  
   `     "Press Any Key for ASCII Code or <Esc> to Exit";`
6. File and translate your macro.
7. Add a macro called start with the following code:  
   `DO{E(#S^Y)^X'=@Z.esc.key P(0,0,X:10L)_P(0,15,Y:0X)^#},`  
   `     @W.return("ASCII code for <Esc> is "_@Z.esc.key)`
8. File and translate your macro and then retranslate your report.

 Topics: [Tips & Tricks](https://blog.ipeople.com/topic/tips-tricks), [Magic System](https://blog.ipeople.com/topic/magic-system), [NPR Report](https://blog.ipeople.com/topic/npr-report), [CS System](https://blog.ipeople.com/topic/cs-system)

## You Might Also Enjoy

<https://blog.ipeople.com/sub-substitute-subscript-as-a-field-attribute>

#### [SUB (Substitute Subscript) As a Field Attribute](https://blog.ipeople.com/sub-substitute-subscript-as-a-field-attribute)

SUB is a Field Attribute not documented on Meditech's website. It allows you to define ...

<https://blog.ipeople.com/how-can-i-pull-the-time-period-from-mis.gl.period-on-a-bar.rev.proc-report>

#### [How Can I pull the time period from MIS.GL.PERIOD on a BAR.REV.PROC report?](https://blog.ipeople.com/how-can-i-pull-the-time-period-from-mis.gl.period-on-a-bar.rev.proc-report)

In the MEDITECH NPR DPM MIS.GL.PERIOD, there is an index (table) called date.x (Logical ...

<https://blog.ipeople.com/alternative-routine-for-viewing-meditech-data-definitions-magic>

#### [Alternative Routine for viewing Meditech Data Definitions (MAGIC)](https://blog.ipeople.com/alternative-routine-for-viewing-meditech-data-definitions-magic)

There is an alternative method for viewing Meditech Data Definitions that will show all ...

<https://blog.ipeople.com/magic-function-for-returning-the-number-of-leading-characters>

#### [MAGIC function for returning the number of leading characters](https://blog.ipeople.com/magic-function-for-returning-the-number-of-leading-characters)

l (that's a lowercase L) is the MAGIC function for returning the number of leading ...

<https://blog.ipeople.com/how-to-use-a-meditech-index-file-as-your-detail-segment-for-an-npr-report>

#### [How to use a MEDITECH Index File as your Detail Segment for an NPR Report](https://blog.ipeople.com/how-to-use-a-meditech-index-file-as-your-detail-segment-for-an-npr-report)

Suppose you want to produce a list of RXs for all current Inpatients. This example will ...

[![IPeopleHealthcare_FullColor](https://blog.ipeople.com/hubfs/IPeopleHealthcare_FullColor.png)](https://www.ipeople.com/)

#### CONTACT

- [+1-214-222-1125](tel:+1-214-222-1125)
- [support@ipeople.com](mailto:support@ipeople.com)
- [sales@ipeople.com](mailto:sales@ipeople.com)

#### [JOIN OUR TEAM](https://ipeople.bamboohr.com/jobs/)

#### FOLLOW

- [![Facebook](https://blog.ipeople.com/hubfs/Facebook.svg)](https://www.facebook.com/IPeoplehealthcareTX)
- [![Instagram](https://blog.ipeople.com/hubfs/Instagram.svg)](https://www.instagram.com/interfacepeople/)
- [![Linkedin](https://blog.ipeople.com/hubfs/Linkedin.svg)](https://www.linkedin.com/company/ipeople-healthcare)
- [![Twitter](https://blog.ipeople.com/hubfs/Twitter.svg)](https://twitter.com/InterfacePeople)
- [![email_icon](https://blog.ipeople.com/hubfs/email_icon.svg)](mailto:support@ipeople.com)

 

![](https://blog.ipeople.com/hubfs/IPeople_2022_Aug/Images/Home/arrow-up.png)