G
Guest
Good morning,
I'd like to format a variable as single or double, but I would like to have
it be a fixed % format with 2 decimal points.... i.e. 42.78%. I'm not sure
what the syntax would be for that. The value will be going into a table
created by a SQL statement. I'm guessing that the field properties in the
SQL-generated table would be the determining factor, so here is my SQL
statement. Can someone please help?
Thank you!
DoCmd.RunSQL "Create Table tbl" & Pickbox & "totals ([Pickbox] text(10),
[Level] text(1), [SKUs] integer, [Pieces%] double, [ft3%] double)"
Derek
I'd like to format a variable as single or double, but I would like to have
it be a fixed % format with 2 decimal points.... i.e. 42.78%. I'm not sure
what the syntax would be for that. The value will be going into a table
created by a SQL statement. I'm guessing that the field properties in the
SQL-generated table would be the determining factor, so here is my SQL
statement. Can someone please help?
Thank you!
DoCmd.RunSQL "Create Table tbl" & Pickbox & "totals ([Pickbox] text(10),
[Level] text(1), [SKUs] integer, [Pieces%] double, [ft3%] double)"
Derek