I noticed the Nz function doesn't work in VB6. I'm trying to populate a field with data pulled from a text file. I want to left justify and space fill and missing characters. The code I am using in VBA is:
Format(Nz(txtField," "), "!@@@@@@@@@@")
In VB I am getting Sub or Function Not Defined error. Is there a substitute for the NZ in VB?
Format(Nz(txtField," "), "!@@@@@@@@@@")
In VB I am getting Sub or Function Not Defined error. Is there a substitute for the NZ in VB?