Re: ct_get_data() fails



Hello,

Information about ct_get_data() can be found here:
http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.dc32840_1500/html/ctref/CHDGIEJF.htm

Basically what this error is telling you is that the application is
calling ct_get_data() on column 2
but has likely called ct_bind() on column 3. From the manual:
===========================================================================
Only those columns following the last bound column are available to
ct_get_data. Data in unbound
columns that precede bound columns is discarded. For example, if an
application selects column
numbers 1–4 and binds column numbers 1 and 3, the application cannot
use ct_get_data to retrieve
the data for column 2, but can use ct_get_data to retrieve the data
for column 4.
===========================================================================

So if you were to change your select statement to something like the
following it should not be a problem:
select Business_unit_id, Open_market, Picture from QUOTEDTL22

I'm not sure how you would reorder the select statement if this is
Replication Server raising the error.
Maybe redefine the table such that the text/image column is listed
last?

Thanks,
Neal
.



Relevant Pages

  • Re: Map.get(key) returns null after inserting key
    ... I am inserting a key and a object into a Map. ... to retrieve the object by calling ...
    (comp.lang.java.programmer)
  • Re: ENOBUFS
    ... > end gave-up and closed the connection before the server could get ... > around to calling acceptto retrieve it. ... Only in a very very rare ...
    (comp.sys.hp.hpux)
  • Retrieve text of Word Doc from protected document?
    ... It works good on unprotected document that retrieve text from Word ... document by calling Range.GetText, however, it throws an exception on ... a protected document. ...
    (microsoft.public.office.developer.com.add_ins)
  • Re: buttondownfcn problem in gui
    ... You can retrieve a fresh copy of it by calling ...
    (comp.soft-sys.matlab)
  • Re: How to retrieve the string from dialog box
    ... > I don't know how to retrieve the string in IDC_STATIC control on a dialog box. ... all the ways you can read an edit control, ... It is not clear what you mean by "without calling the dialog box." ...
    (microsoft.public.vc.mfc)

Loading