If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
code to remove "," from a form
I would like a code to stop having and "," in the test
I will run the code on exit what code do i need to use to do find and replace "," with nothing Thanks |
#2
|
|||
|
|||
code to remove "," from a form
On Jul 11, 12:51*pm, Simon wrote:
I would like a code to stop having and "," *in the test I will run the code on exit what code do i need to use to do find and replace "," with nothing Thanks Please give us more details about what you are trying to do. Is the test that you refer to the name of a TextBox? Could there be multiple occurrences of "," in whatever object you are trying to remove them from? Some sample data and a bit more detail would go a long way towards letting us help you. |
#3
|
|||
|
|||
code to remove "," from a form
On Jul 11, 8:05*pm, CompGeek78 wrote:
On Jul 11, 12:51*pm, Simon wrote: I would like a code to stop having and "," *in the test I will run the code on exit what code do i need to use to do find and replace "," with nothing Thanks Please give us more details about what you are trying to do. Is the test that you refer to the name of a TextBox? Could there be multiple occurrences of "," in whatever object you are trying to remove them from? Some sample data and a bit more detail would go a long way towards letting us help you. Its a text field, where the user types in a delivery address, but i want to stop the user using using "," in the line like 4, The Street i want it to look like 4 The Street Thanks Simon |
#4
|
|||
|
|||
code to remove "," from a form
Let's say you have a variable "strNames" with the following value: "Ed,
Peter, Tom, Ron" Try something like this: Replace(strNames, ", ", " ") Would yield strNames = "Ed Peter Tom Ron" Regards Kevin "Simon" wrote in message ... I would like a code to stop having and "," in the test I will run the code on exit what code do i need to use to do find and replace "," with nothing Thanks |
Thread Tools | |
Display Modes | |
|
|