HomeForum
Welcome, Guest

How I would structure multiple replaces in VIP?
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: How I would structure multiple replaces in VIP?

How I would structure multiple replaces in VIP? 1 year, 1 month ago #2633

  • Joe
  • OFFLINE
  • Junior Boarder
  • Posts: 33
  • Karma: 0
Good morning,

Can you please tell me how I would structure multiple replaces in VIP?
I have a requirement to remove both single and double quote marks from a single field before they are placed in a SQL table.
Currently I am using the following which works fine for removing the single quote marks:

Replace("[PJINV]","'","")

How would I change this so that it looks at both possibilities on the same input field? (ie single quotes and double quotes)

Thanks
Joe

Re: How I would structure multiple replaces in VIP? 1 year, 1 month ago #2634

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2191
  • Karma: 12
Try this

Replace(Replace([PJINV],"'",""),"""","")


Peter
  • Page:
  • 1
Time to create page: 0.15 seconds

Testimonials

We Process 3000 files daily, 24h x 365d

C Gandhi
Nesa-Canada

User Login

You only need to log in or register to use our support forum



Our customers

BP

BBC

HSBC


Databases we work with

Go to top