nawtykitty
09-26-03, 16:37
| I am trying to create a process script in Paradox 9 that will remove hyphens from a field. The field name is P_SSN and the data is social security numbers with hyphens. Before I can export the data to another application, the hyphens must go. Here is my script so far: proc NoHyphen (strP_SSN string) string var strTemp, strFront,strBack string strTemp=strP_SSN while strTemp.match("..-..",strFront,strBack) strTemp=strFront+strBack endwhile return strTemp endproc When I check the syntax, I get an "Error: Identifier Expected" on the first 'strTemp'. What am I doing wrong? Am I even close or waaaaaayyyyyyy off? And yes...I am a newb at the ol' Paradox. Please be gentle :) Seriously, any and all help would be greatly appreciated. Thanx. P.S. I have attached a text document with my string statement for editing purposes. Once again, thank you. |