>>>The connection handle is valid and =16
>>
>>Than, what is the problem?
>
>
> when i run the code it points to this line and says Data mismatch
>
>IF SQLExec(m.Handle, 'SELECT * FROM useraccesscon', 'User')
>
>*Handle=SQLCONNECT('Upsize','','',.T.)
>give the handle error
>
>
>just tested
>'Upsize','','',.T.
>
>it says its valid and =17
Put the whole code here and point where you get the error.
Maybe you establish the connection somewhere and then handle going out of scope and that is why it is invalid.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.