I'd guess that ZONE is coming from a table other than the one you think.
Better result naming the alias... STR(tbla.ZONE, 4)?
good luck
>Hi chaps
>
>I have the following code
>
>
>lcSeekKey = thisform.cRoute + thisform.cGen + thisform.cDirectn + "1 " + STR( ZONE, 4)
>
>where thisform.cRoute = "1 "
> thisform.cGen = "A"
> thisform.cDirectn = "O" and
> ZONE = 3, (table field) so:
> STR( ZONE, 4) = " 3"
>
>(all verified in debugger - watch)
>
>So how come cSeeKey ends up as:
"1 AO1 132"? Where the blithering hell does "132" come from?
>So my subsequent SEEK() fails.
>
>Yours bemusedly
>
>Terry