---
title: Qlik Script Syntax Highlighting - An Ometis Guide - Ometis Blog
description: Qlik script syntax highlighting offers a developer live feedback of how Qlik reads the script, allowing them to spot errors before performing a reload.
image: https://ometis.co.uk/hubfs/Imported_Blog_Media/Qlik-script-syntax-highlighting.jpg
---

[![ometis white transparent](https://ometis.co.uk/hs-fs/hubfs/ometis%20white%20transparent.png?width=147&height=65&name=ometis%20white%20transparent.png "ometis white transparent")](https://ometis.co.uk)

- Services 
    - [View all services](https://ometis.co.uk/services-overview)
    - [Data analytics](https://ometis.co.uk/services/data-analytics)
    - [Data engineering](https://ometis.co.uk/services/data-engineering)
    - [Analytics audit](https://ometis.co.uk/services/data-analytics-audit)
    - [Data platform audit](https://ometis.co.uk/services/data-platform-audit)
    - [Qlik training](https://ometis.co.uk/services/training)
    - [Support](https://ometis.co.uk/services/data-support)
- Industries 
    - [Hospitality](https://ometis.co.uk/solutions/hospitality)
    - [Higher Education](https://ometis.co.uk/solutions/higher-education)
    - [Manufacturing](https://ometis.co.uk/solutions/manufacturing)
    - [Financial Services](https://ometis.co.uk/solutions/financial-services)
    - [Other sectors](https://ometis.co.uk/solutions-other-sectors)
- Products 
    - [Tahola-AI](https://ometis.co.uk/product/tahola-ai)
    - [Qlik](https://ometis.co.uk/product/qlik)
    - [Power BI](https://ometis.co.uk/product/power-bi)
    - [Sigma](https://ometis.co.uk/product/sigma)
    - [Inphinity](https://ometis.co.uk/product/inphinity)
    - [Snowflake](https://ometis.co.uk/products/snowflake)
    - [Microsoft Fabric](https://ometis.co.uk/product/microsoft-fabric)
    - [OBackup](https://ometis.co.uk/product/obackup)
    - [Jedox](https://ometis.co.uk/product/jedox)
- About 
    - [About us](https://ometis.co.uk/about-ometis-uk-data-consultancy)
    - [Case studies](https://ometis.co.uk/case-studies)
    - [Partners](https://ometis.co.uk/data-technology-partners)
- Resources 
    - [Events](https://ometis.co.uk/events)
    - [Blog](https://ometis.co.uk/blog-news)

 Contact

![](https://secure.leadforensics.com/80580.png)

 May 29, 2019 By Chris Lofthouse

# Qlik Script Syntax Highlighting – An Ometis Guide

Share:

- <https://www.linkedin.com/sharing/share-offsite/?url={url}&title={title}>
- <http://x.com/share?text={title}&url={url}&>

Qlik script syntax highlighting is an efficient and useful way for developers to keep track of their script.

[Qlik Sense](https://ometis.co.uk/qlik-software/qlik-sense/) script uses a syntax colour highlighter to identify script keywords. This is very useful for developers to distinguish a field name from a variable name, for example. Effectively, it provides the developer  with live feedback of how Qlik reads the script. Allowing developers to spot errors before performing a reload.

## Qlik Script Syntax Highlighting

Below is a key to understand the syntax highlighter:

| Colour | Definition | Description | Examples |
| --- | --- | --- | --- |
| Blue #6A8FDE RGB(106, 143, 222) | Statements / Keywords | In Qlik Sense script, a number of script statements can be utilised. A statement can also be referred to as a keyword. All script keywords can be typed with any combination of lower and upper case characters. | LOAD SQL LET SET QUALIFY |
| Caramel #CC9966 RGB(204, 153, 102) | Field name | Within a LOAD statement, Qlik will represent field names in this colour. Spaces must be escaped with parenthesis. | Field\_Name “Field name” \[Field Name\] |
| Purple #8e477d RGB(142, 71, 125) | Table name | In Qlik script you can specify a table name prior to a LOAD statement. Spaces must be escaped with parenthesis. | Table\_name “Table name” \[Table name\] |
| Pink #CC99CC RGB(204, 153, 204) | Variable | You can create a variable using the SET and LET control statements. A variable is defined by a single word. It is not recommended to name a variable identically to a field or a function in Qlik Sense. | vVariableName varVariableName VariableName variableName |
| Green #44751d RGB(68, 117, 29) | String literal | String literals are commonly used for defining a variable value or assigning a static value within a Load script. String literals are wrapped in single quotes ( ‘ ). | ‘DD/MM/YYYY’ ‘£#,##0.00;-£#,##0.00’ ‘Mon;Tue;Wed;Thu;Fri;Sat;Sun’ |
| Black #595959 RGB(89, 89, 89) | Normal text | Normal text can be seen after the SQL keyword, as Qlik does not offer highlighting for third-party languages. Other examples include after the TRACE statement. | This is what normal text, within the script, looks like. |
| Red #ff0000 RGB(255,0,0) | Error | Shown immediately at the position of an error detected in the script. | This is what an error looks like in the script. |
| Black with a Red shadow #595959 #f05555 RGB(89, 89, 89) RGB(240, 85, 85) | Post-error | All script following an error will change to this colour until the script has been corrected and valid. | This is what a post-error script looks like. |
| Grey #808080 RGB(128, 128, 128) | Comment | It is best practice to comment your script. Comments are shown in grey. There are three methods of commenting; ‘//’, ‘/\*\*/’, REM. | This is what text that has been commented out looks like. |

As always, you can stay up-to-date on the latest Qlik news by following Ometis on [Twitter](https://twitter.com/ometis_ltd), [LinkedIn](https://www.linkedin.com/company/ometis-limited/) and [YouTube](https://www.youtube.com/channel/UCtroW0Qxu1EDfPH3QLe_PBQ). We’re always keen to hear feedback as well, so please let us know your thoughts on any of the above in the comments below.

By Chris Lofthouse  
[Follow @clofthouse89](https://twitter.com/clofthouse89?ref_src=twsrc%5Etfw)

## Comments

#### About Author

[Chris Lofthouse](https://ometis.co.uk/blog-news/author/chris-lofthouse)

Chris boasts more than 12 years’ experience working with Qlik, covering a variety of roles along the way from support and development to consulting, pre-sales and training. He is now Commercial Director at Ometis as well as being a Qlik Partner Ambassador and Qlik Luminary Alumni. He’s also the creator of OmetisToolkit.com and is very vocal on our blog and social channels.

<https://www.linkedin.com/in/chris-lofthouse-49641535/?originalSubdomain=uk>

#### Related Posts

[![](https://ometis.co.uk/hubfs/Screenshot%202025-03-24%20112126.png)](https://ometis.co.uk/blog-news/qlik-talend-cloud-cross-pipeline-projects-guide)

 March 24, 2025

#### [How to use Qlik Talend Cloud Cross...](https://ometis.co.uk/blog-news/qlik-talend-cloud-cross-pipeline-projects-guide)

 Learn how Qlik Talend Cloud's Cross Pipeline Projects feature creates flexible data architectures for more efficient data engineering workflows.

[Go to Post](https://ometis.co.uk/blog-news/qlik-talend-cloud-cross-pipeline-projects-guide)

[![](https://ometis.co.uk/hubfs/Screenshot%202024-11-26%20161955.png)](https://ometis.co.uk/blog-news/guthub-version-control-qlik-talend-cloud)

 November 27, 2024

#### [How to set up GitHub version control in...](https://ometis.co.uk/blog-news/guthub-version-control-qlik-talend-cloud)

 Learn how to set up GitHub version control in Qlik Talend Cloud and transform your data integration projects.

[Go to Post](https://ometis.co.uk/blog-news/guthub-version-control-qlik-talend-cloud)

[![](https://ometis.co.uk/hubfs/Geospatial%20data%20visualisation%20(2).png)](https://ometis.co.uk/blog-news/geospatial-data-visualisation-a-qliksense-and-kml-tutorial)

 September 25, 2024

#### [Geospatial data visualisation: a Qlik...](https://ometis.co.uk/blog-news/geospatial-data-visualisation-a-qliksense-and-kml-tutorial)

 Learn how to integrate KML with QlikSense for enhanced geospatial data analysis and create interactive maps for better strategic planning. === Main Point Summary: The blog provides a tutorial on...

[Go to Post](https://ometis.co.uk/blog-news/geospatial-data-visualisation-a-qliksense-and-kml-tutorial)

### Be the first to hear about new events and updates

###### Technical Support

There are three ways to log support tickets:

![Canva Design DAFuEILuqpo](https://ometis.co.uk/hs-fs/hubfs/Canva%20images/Canva%20Design%20DAFuEILuqpo.png?width=30&height=30&name=Canva%20Design%20DAFuEILuqpo.png)   **Email:**  [help@ometis.co.uk](mailto:help@ometis.co.uk)

![Canva Design DAFuEAregRg](https://ometis.co.uk/hs-fs/hubfs/Canva%20images/Canva%20Design%20DAFuEAregRg.png?width=30&height=30&name=Canva%20Design%20DAFuEAregRg.png)   **Portal:**  [support.ometis.co.uk](mailto:help@ometis.co.uk)

![Canva Design DAFuEBb7e8M](https://ometis.co.uk/hs-fs/hubfs/Canva%20images/Canva%20Design%20DAFuEBb7e8M.png?width=30&height=30&name=Canva%20Design%20DAFuEBb7e8M.png)   **Phone:** +44 (0) 330 363 9900

Our support team is available to help Monday to Friday 09:00 to 17:30 GMT, excluding UK national holidays.

###### Sitemap

- [Data Integration](https://ometis.co.uk/data-integration)
- [Data Governance](https://ometis.co.uk/data-governance)
- [Data Analytics](https://ometis.co.uk/services/data-analytics)
- [Services](https://ometis.co.uk/services)
- [Blog](https://ometis.co.uk/blog-news)
- [About](https://ometis.co.uk/about)

###### General Enquiries

For all general enquiries:

![Canva Design DAFuEILuqpo](https://ometis.co.uk/hs-fs/hubfs/Canva%20images/Canva%20Design%20DAFuEILuqpo.png?width=30&height=30&name=Canva%20Design%20DAFuEILuqpo.png)   Email:  [info@ometis.co.uk](mailto:info@ometis.co.uk)

![Canva Design DAFuEBb7e8M](https://ometis.co.uk/hs-fs/hubfs/Canva%20images/Canva%20Design%20DAFuEBb7e8M.png?width=30&height=30&name=Canva%20Design%20DAFuEBb7e8M.png)   Phone:  +44 (0) 330 363 9900

###### Company Information

Ometis Limited,   
42 Lytton Road, Barnet,  
Greater London, EN5 5BY

Company Number: 7095283         VAT: 106236937

 

© 2026. All rights reserved | [Terms of use](https://ometis.co.uk/terms-of-use) | [Privacy](https://ometis.co.uk/privacy) | [Ts & Cs](https://ometis.co.uk/standard-conditions-of-supply)

[Follow us on LinkedIn](https://www.linkedin.com/company/ometis-limited/)

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Chris Lofthouse",
    "url" : "https://ometis.co.uk/blog-news/author/chris-lofthouse"
  },
  "dateModified" : "2023-10-12T11:50:24.129Z",
  "datePublished" : "2019-05-29T09:30:30.000Z",
  "headline" : "Qlik Script Syntax Highlighting - An Ometis Guide - Ometis Blog",
  "image" : [ "https://ometis.co.uk/hubfs/Imported_Blog_Media/Qlik-script-syntax-highlighting.jpg" ],
  "mainEntityOfPage" : {
    "@id" : "https://ometis.co.uk/blog-news/qlik-script-syntax-highlighting",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://ometis.co.uk/hubfs/ometis%20orange%20transparent-1.png"
    },
    "name" : "Ometis Limited"
  }
}
```

```json
{
  "@context" : "http://schema.org",
  "@type" : "Corporation",
  "address" : {
    "@type" : "PostalAddress",
    "addressCountry" : "United Kingdom",
    "addressLocality" : "Hertfordshire",
    "addressRegion" : "",
    "postalCode" : "EN5 5BY",
    "streetAddress" : "42 Lytton Road Barnet"
  },
  "alternateName" : "Ometis",
  "description" : "Ometis is a UK data consultancy and the UK's largest dedicated Qlik partner, helping organisations get more value from their data through integration, analytics, dashboards, training and support.",
  "email" : "info@ometis.co.uk",
  "image" : "",
  "logo" : "https://143260848.fs1.hubspotusercontent-eu1.net/hubfs/143260848/ometis%20orange%20transparent-1.png",
  "mainEntityOfPage" : {
    "@id" : "https://ometis.co.uk/blog-news/qlik-script-syntax-highlighting",
    "@type" : "WebPage",
    "description" : "Qlik script syntax highlighting offers a developer live feedback of how Qlik reads the script, allowing them to spot errors before performing a reload."
  },
  "name" : "Ometis Limited",
  "sameAs" : [ "https://www.linkedin.com/company/ometis-limited/" ],
  "telephone" : "0330 363 9900",
  "url" : "http://www.ometis.co.uk"
}
```