IIf Statement

G

Guest

Good Afternoon;

Please look at this IIf statement - I keep getting comma errors!

IIf(cable.FGLAND like 'H*',(mid(cable.FGLAND), 2),cable.FGLAND) AS
CONNECT_TYPE,

thanx
jkb66
 
G

Guest

Try this, the open brackets should be after the mid and not before

IIf(cable.FGLAND like 'H*',mid(cable.FGLAND, 2),cable.FGLAND) AS
CONNECT_TYPE,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top