Hi Usha,
I know, my curiosity someday kills me, but could you please tell us: are you man or woman? And who is Mid3? Your partner or your double?
>Hi,
>I was tried to use this command but it still read the first record in a table. I mean, if the data is already exist in database, error form will display when I insert the same data.
>
>But when I insert the other record (location code) except the first record,the command cannot read and the error form not display.
>
>WAIT WINDOW location_code
>vlocation = location_code
>USE ("c:\mine\land.dbf")
>WAIT WINDOW land.location_code
>IF vlocation != land.location_code
> DO FORM ("c:\mine\land.scx")
>ELSE
> DO FORM ("c:\mine\errorcode.scx")
>ENDIF
>RELEASE thisform
If it's not broken, fix it until it is.
My Blog