Jump to content

double quote in a calculation


This topic is 8345 days old. Please don't post here. Open a new topic instead.

Recommended Posts

... and i think it will not work ....

In the programming languages (and i really think in FM also) it works as follows:

  • to insert in the variable Var the text Robert you MUST assign:

    Var := "Robert"

  • to insert in the variable Var the text "Robert" you MUST assign:

    Var := char(34) & "Robert" & char(34) - where char(34) represents the " sign

Then, to accomplish the job, assign to a global text field (we call it g_Text) the " sign and use it in your calculation:

YourField=WhatYouNeed & g_Text & "Robert" & g_Text.

I really think this is the proper way.

Greetings from Holy Lands.

[ July 11, 2001: Message edited by: JPaul ]

Link to comment
Share on other sites

This topic is 8345 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.