Tim Ferguson wrote:
> "Matt" <(E-Mail Removed)> wrote in
> news:(E-Mail Removed):
>
> > Does anyone out there know how to set the Format property of a
> > column through code?
>
> Answer 1): it's in the Properties collection of the Field object, but
> it doesn't exist until it has been filled in, so you might have to
> call the .Append method first.
>
> Answer 2): there's no logical reason to do so. The Format property is
> only used for setting the default for new controls on forms and
> reports bound to the field. If your users are creating new forms and
> reports, then it's easy enough to update the Format property using
> the UI. If they don't have access to the GUI, then they'll never get
> any benefit from the Format property.
>
> Hope that helps
>
>
> Tim F
Ah, yes, I see it now
You're right, though, that the formatting doesn't do anything for me
after all. My real problem is a mail merge from the table I am
creating; it will not display my Currency data type as that, preferring
instead for some obnoxious reason or another to output a raw number.
I've posted the specifics in a reply to myself above your response;
perhaps you have some idea of what I can set to make it display the
proper format on the letter.
Thanks,
Matt