I have a form with a combo box for the user to select a code from one table which then populates another table. The tables are linked MS SQL. The fields are nvarchar. The codes are 01,02,03 etc. If I type the code into the table the leading 0 sticks, but if I select from the combo box the leading 0 gets dropped. I can't change the codes to type text, because MS SQL apparently doesn't allow text fields to be sorted. Any ideas on how to get the leading 0 to stick in the table?