LOCAL hConn, cConnectStr, nResult hConn = 0 cConnectStr = "DRIVER=SQL SERVER;SERVER=(local);UID=SA;PWD=;DATABASE=pubs" hConn = SQLSTRINGCONNECT(m.cConnectStr) IF hConn > 0 nResult = SQLEXEC(m.hConn,"SELECT * FROM discounts") IF nResult > 0 CLEAR DISPLAY STRU ENDIF =SQLDISCONNECT(hConn) ELSE = MESSAGEBOX("Connect Failed!") ENDIFThe DISCOUNT field is defined as precision = 4 and scale = 2 in SQL Server. However, in the sqlresults cursor the DISCOUNT field has width = 6 and dec = 2.