On column controlSource, try left(code, 4) + "-" + right(code, 3)
Florin
>Dear Experts
>I am using VFP6, I have a table, entitled master, fields as
>code c(7)
>detail c(40)
>Both fields are charcter type.
>To show the data of this table I use a grid.
>In the first column of grid I want to show code field in the following format
>1401-001
>1601-005
>1802-155
>What and where inputmask or format should I apply?
>Please help me
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only