>Hi All:
>
>I have a situations where the table consists of 2 numeric fields. Programatically, I have two numeric variables calculate the numbers that are to be inserted into the 2 numeric fields in the table. This has been accomplished.
>
>I have another character field in the same table, where I want to concatenate the values stored in the two numeric variables described above, to be stored in this character field.
>
>Example: nVar1 = 8, nVar2 = 00
>Desired Outcome is the value "8:00 am" which is to be stored in the character field.
>
>Your guidance is appreciated. Thanks.
>
>- Ravi
Convert numbers to strings using str() or trans() and put them together with the string concatenation operator +.
BTW, x = 00
? x returns 0. <g>
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California