Hi! 
I have a dialog form that contains a couple of list boxes. All was working well till I clicked on an item in the listbox that contains an apostrophe. Example: Appeal works Appeal's won't work. I get an error message and the report fails to generate. The listbox is an unbound control and is populated by selecting a distinctrow from a query. I'm guessing the names list boxes will fail similarly on names with an apostrophe. Is there a way to allow the users to input the names with apostrophes but get rid of the apostrophe when the listbox populates or run the listbox with the apostrophe. Hope this makes sense.
Thanks
I have a dialog form that contains a couple of list boxes. All was working well till I clicked on an item in the listbox that contains an apostrophe. Example: Appeal works Appeal's won't work. I get an error message and the report fails to generate. The listbox is an unbound control and is populated by selecting a distinctrow from a query. I'm guessing the names list boxes will fail similarly on names with an apostrophe. Is there a way to allow the users to input the names with apostrophes but get rid of the apostrophe when the listbox populates or run the listbox with the apostrophe. Hope this makes sense.
Thanks