Thanks Jamie! Now, a really stupid question

  • Thread starter Thread starter Anne
  • Start date Start date
A

Anne

for:

Public Function funRemChar(strInput As String, ByVal
strCompare As String) As String

I want to pass the value of a control to strInput. I
think I should know this but I'm feeling brain-damaged
today.

Thanks for your help!
 
Hi Anne

As Marchall already mentioned with Acc2K or above you can use the Replace()
function - the function I wrote was for Acc97.

To pass the value in the control just use: funRemChar(ControlName.Value,"-")

Jamie
 
Back
Top