>Dear Experts
>
>There is text1 and 10 commandbuttons on form.
>Text1 is numeric type and commandbuttons are with caption from 0 to 9 as follows
>
>command1 0
>command2 1
>command3 2 and so on.
>
>I want to enter data in text1 through commandbuttons for example if I want to enter data 210 then I should press command3, command2 and then command1 but what command should I apply on every commandbutton.
>
>Please help
On Click Event of Your Command Buttons (0...9)
i.e. On Click Event of Command2
thisform.Text1.Value = VAL(TRANSFORM(thisform.Text1.Value)+"1")
i.e. On Click Event of Command3
thisform.Text1.Value = VAL(TRANSFORM(thisform.Text1.Value)+"2")
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.