Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 22033

Dsum with mutiple variables

$
0
0
What's wrong with this statement?

strSQL = "DSum('share_pct', 'CoInsurer', 'Policy_No = ' & Chr$(34) & " StrPolicy & Chr$(34) & ' AND Version_No = ' & Chr$(34) & StrVer & Chr$(34))"

I get a compile error ' Expected end of statement with strpolicy highlighted. '

Desperate to resolve this any help appreciated

Thanks Colin

Viewing all articles
Browse latest Browse all 22033

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>