Subject | RE: [IBO] Cursor Unknown Fix |
---|---|
Author | Jason Wharton |
Post date | 2004-06-08T06:26:11Z |
Try setting CallbackInc to -1 on the offending query and see if that
resolves it.
Jason Wharton
www.ibobjects.com
-----Original Message-----
From: Alan McDonald [mailto:alan@...]
Sent: Saturday, June 05, 2004 4:13 AM
To: IBObjects@yahoogroups.com
Subject: [IBO] Cursor Unknown Fix
I've had a nasty little cursor unknown exception keep popping up from time
to time.
Some people have offered that it must be (or most likely is) associated with
a missing KeyLinks property in a query. I was determined that it wasn't
since all my searches on my component properties brought back no luck in
this area.
I have now finally found that it was associated with the queries used in
LookupCombos. Specifically the queries which display only field contents and
have a keylinks property in the form FIELDFROMTABLE1=FIELDFROMTABLE2.
I now know that these queries cannot have the KeyLinksAutoDefine property
checked. If you uncheck it, the Unknown Cursor exception finally gets put to
bed...
Hope this helps anyone else with the same problem.
Alan
resolves it.
Jason Wharton
www.ibobjects.com
-----Original Message-----
From: Alan McDonald [mailto:alan@...]
Sent: Saturday, June 05, 2004 4:13 AM
To: IBObjects@yahoogroups.com
Subject: [IBO] Cursor Unknown Fix
I've had a nasty little cursor unknown exception keep popping up from time
to time.
Some people have offered that it must be (or most likely is) associated with
a missing KeyLinks property in a query. I was determined that it wasn't
since all my searches on my component properties brought back no luck in
this area.
I have now finally found that it was associated with the queries used in
LookupCombos. Specifically the queries which display only field contents and
have a keylinks property in the form FIELDFROMTABLE1=FIELDFROMTABLE2.
I now know that these queries cannot have the KeyLinksAutoDefine property
checked. If you uncheck it, the Unknown Cursor exception finally gets put to
bed...
Hope this helps anyone else with the same problem.
Alan