• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 306
  • Last Modified:

Crystal reports: Syntax question

Experts,

Is there a difference when using quotes like "field1" or 'field1'?

Thanks
0
Maliki Hassani
Asked:
Maliki Hassani
1 Solution
 
Matt_D_GreenCommented:
The single quotes can be used inside double quotes, if needed, so by using single quotes you limiit your options for what 'field1' can be.
0
 
Maliki HassaniAuthor Commented:
Thank you!
0
 
mlmccCommented:
No.  Either can be used in Crystal to denote a string.  The advantage is that if you string needsto have a ' in it then use " " as the string delimiter.  If your string needs to include a " then use the ' 'as the string delimiter.

In most cases either works.

mlmcc
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now