paulcedarhill
Technical User
I am linking to a sql database where the original programmer stored phone numbers as strings and an input mask to make the screen view look right. I have just finished writing all the formulas to make them look like phone numbers in crystal but now I need to transfer these formulas to about 50 reports.
here is the code in case any one else is struggling with the same issue.
Dim cmpnyphone as String
cmpnyphone = "("+{tblContacts.fldPrim_Ph}(1 to 3)+") "+{tblContacts.fldPrim_Ph}(4 to 6)+"-"+{tblContacts.fldPrim_Ph}(7 to 10)
formula = cmpnyphone
how can I share or move this formula to another report?
here is the code in case any one else is struggling with the same issue.
Dim cmpnyphone as String
cmpnyphone = "("+{tblContacts.fldPrim_Ph}(1 to 3)+") "+{tblContacts.fldPrim_Ph}(4 to 6)+"-"+{tblContacts.fldPrim_Ph}(7 to 10)
formula = cmpnyphone
how can I share or move this formula to another report?