Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

scanning input

Status
Not open for further replies.

priapus

Technical User
May 17, 2001
26
US
Does anybody know the syntax for scanning through a string upon input being entered, checking for an apostrophe character, and replacing it with a ` character? Thanks in advance for any help.
 
See the FAQ below which describes the InStr function within Access, it does what you want.

faq181-459 Joe Miller
joe.miller@flotech.net
 
Additional information:

Their is a function built into Access 2000 up called Replace and it takes a string, finds a character or string of characters and replaces it with whatever character or string of character you need. Here's the usage of that function:

[tt]
Replace("MyString","'","`")
[/tt]

HTH Joe Miller
joe.miller@flotech.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top