EricDraven
Programmer
I have a RichEdit which allows the user to type in text for printing in a letter. This is linked into a table which holds customer records. The user types a letter and where they want a data field in the text (i.e. the field NUMBER), they type */NUMBER/*.
My system uses the StringReplace function to change these entries to their corresponding counterparts in the table. The problem is that the user is allowed to change the font style, color size etc and after completing their formatting, the system looks up all of these fields before printing to change them and the stringreplace procedure loses all of the formatting. Is there a way of storing the SelAttributes so that they can be restored after changing the fields?
Any help greatly appreciated but not with monetary donations as the cupboards are bare and my wallets best before date is circa 1993! Arte Et Labore
My system uses the StringReplace function to change these entries to their corresponding counterparts in the table. The problem is that the user is allowed to change the font style, color size etc and after completing their formatting, the system looks up all of these fields before printing to change them and the stringreplace procedure loses all of the formatting. Is there a way of storing the SelAttributes so that they can be restored after changing the fields?
Any help greatly appreciated but not with monetary donations as the cupboards are bare and my wallets best before date is circa 1993! Arte Et Labore