Another issue:
Your Values('$gi' . . . won't replace $gi with "11111111" because it's enclosed in single ticks.
Update ikegami rightly pointed out that the outside string was double quoted.
In reply to Re: Query Formatting
by KurtSchwind
in thread Query Formatting
by ShayShay
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |