Question : Access 2007 Query with Alias

I'm using Access 2007 and have a query where I'm adding a new column in the following manner:  Var2: Nz([var1],0).  The Nz function is needed because of the nulls in the field Var1.  The problem I'm having is that Var2 comes out as a text variable not a numeric variable like Var1 is.  I want Var2 to be numeric.  I've tried putting a format function in front of the Nz([var1],0) but either I don't have the right syntax or that approach just doesn't work.  

Any suggestions?

Answer : Access 2007 Query with Alias

I mean:
Var2: Val(Nz([var1],0))
Random Solutions  
 
programming4us programming4us