Is it possible, using fields, to determine the first character of a mergefield result? For example, if a field’s result is “A123”, is it possible to construct a set of fields that will return only “A”?
A bit of background: my company gives each client an alphanumeric code, such as (you guessed it) A123. Data for each separate client is stored in its own folder named with that code, which are further sorted into alphabetical folders (so the folder tree is something like clientsAA123).
A merge document I’m setting up will include the code as a field in the data source, and I’m trying to set up an includetext field that will find a particular document in each client’s folder. So I will eventually need a field something like { INCLUDETEXT “L:ClientsAA123form.doc” } where the “A” and the “A123” will be determined by the data source. But unless I can get the initial letter from the client’s code, I think the whole idea is sunk. I know it’s easy to do this with VBA, but I can’t use VBA in this particular case — it has to happen as part of the merge process.
Any thoughts?
Thanks!