Ampersands within records

  • Thread starter Thread starter mcheng
  • Start date Start date
Jet does not give a special meaning to & embedded in a string.


CurrentDb.Execute "INSERT INTO companies(f1) VALUES( 'A & P') "

will insert a new record in table companies, with "A & P" as value (under
the field f1), without prompting for a parameter for P.




Hoping it may help,
Vanderghast, Access MVP
 
Back
Top