In Access 2003, programming with VBA.
I have a list box to fill data with two columns.
One column is ID and the other column is Name.
I want the 4 digit format on the ID column
I try at list box' Row Source Properties
I write select sql statment like this
select format([ID],'0000'), Name from myTable
It doesn't work.
When I remove format function, it works.
I want to fill the data with the required format
Nameas a column name is not a great idea as NAME is a reserved word in MS Access. It can cause you lots of grief later on. support.microsoft.com/kb/286335