Solved

How to use String Contains in Report Designer

  • 8 June 2023
  • 9 replies
  • 365 views

Hi everyone, How to use string contains function in report designer, If I saved string list in the particular field means How can check particular string is there or not 

My field Name TypeofChange

Field Value  = Design; Sub-con's Proposal; 

My question is ‘Sub-con's Proposal’ string is available or not in the particular string field

 

 

icon

Best answer by darylbowman 8 June 2023, 13:24

View original

9 replies

Userlevel 2
Badge

@sathish80 you can use InStr( str, findStr ) function.

 In Expression Editor box >Functions > Text

@ThasinduRanasinghe61 thank you your reponse, I already used this but i cannot use string with ‘single quotation’ InStr([ChangeRequest.TypeOfChange],’SubCon’sProposal’)

can you help me to solve this issue

Badge +11

'SubCon’sProposal' is not the same as ‘Sub-con's Proposal’. Which one are you trying to find?

I am trying ti find this one  ‘Sub-con's Proposal’.

 

Badge +11

Then your formula should read:

InStr([ChangeRequest.TypeOfChange],’Sub-con’s Proposal’)

Can you confirm that it does?

Thank you for your response 

I used following this got error missing operator before the operand

 

 

Badge +11

The single quotation used as an apostrophe is closing the string too early.

Try this:

=InStr([ChangeRequest.TypeOfChange],’Sub-con\’s Proposal’)

@darylbowman Thank you so mush its working fine now

 

Badge +11

Sure thing

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved