Hi
In my table I have a stage field and the maximum length of Stage field is 6. The stage can be like
IA, IIA, IVa etc
I want to export the field in an old database where they extract the field by defining the String Position. Therefore They want me to write stage in a way that if the stage is null then have six spaces and if stage is 2 characters rhen 4 spaces should follow after that and then rest of the field. The data should look smthng like this
IA + 4 spaces + next field
I am trying something like this
IIF(Len([Stage]=0)," ",IIF(Len([Stage]=1),[Stage] & " " and so on.........
Is there any better way to do the thngs. By the way none of my stage is 6 characters long
Cheers!
Aqif
Cheers!
Aqif
In my table I have a stage field and the maximum length of Stage field is 6. The stage can be like
IA, IIA, IVa etc
I want to export the field in an old database where they extract the field by defining the String Position. Therefore They want me to write stage in a way that if the stage is null then have six spaces and if stage is 2 characters rhen 4 spaces should follow after that and then rest of the field. The data should look smthng like this
IA + 4 spaces + next field
I am trying something like this
IIF(Len([Stage]=0)," ",IIF(Len([Stage]=1),[Stage] & " " and so on.........
Is there any better way to do the thngs. By the way none of my stage is 6 characters long
Cheers!
Aqif
Cheers!
Aqif