Setting General Number Format in vba
- From: "Dixie" <dixie@xxxxxxxxxxx>
- Date: Wed, 28 Mar 2007 11:08:19 +1000
I am appending some new fields to a table in vba and when I append a number
field with is a byte, it does not inherit any format. I want it to be the
General Number format, but it is blank. I have tried to change the format
with the following code, but it does not work. What is wrong with this code
and how can I make that byte number field have the General Number format?
Call
SetPropertyDAO(DBEngine(0)(0).TableDefs("tblCommendations").Fields("Year"),
"Format", dbByte, "General Number")
dixie
.
- Follow-Ups:
- Re: Setting General Number Format in vba
- From: Allen Browne
- Re: Setting General Number Format in vba
- Prev by Date: Creating reports on crystal reports
- Next by Date: Re: Importing from delegated mailbox programatically in Office 2K2
- Previous by thread: Creating reports on crystal reports
- Next by thread: Re: Setting General Number Format in vba
- Index(es):
Relevant Pages
|
Loading