Search found 2 matches

by mafro_cz
28.03.2013, 18:05
Forum: ZeosLib 7.0 Stable Forum
Topic: Firebird 2.1 Embedded, error -501 on close
Replies: 2
Views: 676

error -501 is:

Code: Select all

... exception class EZSQLException with message 'SQL Error: Dynamic SQL Error SQL error code = -501 Attempt to reclose a closed cursor. Error Code: -501. The cursor identified in a FETCH or CLOSE statement is not open.'. 
by mafro_cz
27.03.2013, 15:44
Forum: ZeosLib 7.0 Stable Forum
Topic: Firebird 2.1 Embedded, error -501 on close
Replies: 2
Views: 676

Firebird 2.1 Embedded, error -501 on close

Hi, I use Firebird 2.1 embedded (protocol: firebirdd_2.1) and in this code: With TZReadOnlyQuery.create(nil) do begin Connection:=ZConnection2; Close; with UserPropertyForm do begin SQL.Clear; SQL.Add('Insert InTo SPRAVCI (UserName,UserPass) values('''+NewUserEdit.text+''','''+NewPasswordEdit.text+'...