secondangel
Registered User.
- Local time
- Today, 22:51
- Joined
- Nov 6, 2008
- Messages
- 52
Hi i want to righttrim from a field however each record is going to be of different lengths as its full of text.
I know the point i want to start as right at the end of the record is a -- character followed by some text.
I wish to trim everything after the -- to the end of the record.
I presume rtrim$ is useful but you have to put a number of how many characters to trim. I dont know how many characters.
As the text after the -- is also variable how do i assign it to look and trim after this --
SO basically serach the record, as soon as you reach the -- then delete all text after it.
Will i need to code a vb module.
Any help much appreciated
Ashley
I know the point i want to start as right at the end of the record is a -- character followed by some text.
I wish to trim everything after the -- to the end of the record.
I presume rtrim$ is useful but you have to put a number of how many characters to trim. I dont know how many characters.
As the text after the -- is also variable how do i assign it to look and trim after this --
SO basically serach the record, as soon as you reach the -- then delete all text after it.
Will i need to code a vb module.
Any help much appreciated
Ashley