Hi,
To read sequentially all records use :
ic_open (file_id, dict_flag, filename, file_len, status_func, code)
ic_select (file_id, select_list_num, code)
and loop on
ic_readnext (select_list_num, record_id, max_id_size, id_len, code)
if code != 0 {
ic_read (file_id, lock, record_id, id_len, record, max_rec_size, record_len,
status_func, code)
}
My two cents.
Manu
----- Original Message -----
From: "pam" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, May 18, 2007 4:28 PM
Subject: [U2] read secuencial a table
Hi, i'm working in C with the api intercall.h and I would like to know a
way
for reading a table in a secuencial way. Because with ic_read i must give
a
record id. Other way i try is with ic_execute but I get a buffer with the
result of the select statement but it has not a unique format, also it
dependet in the number of attribute I ask on the select.
I aslo try to use UCI.h but althougth I could read it in the way I want I
couldn't read multivalue columns, with the BindMvCol on the PCArray it say
the rigth number but on pCArray->Data I have not the content. I follow the
ucisample, and it does not work too with multivalue columns.
I'm on a dilema, I could do somethings with a api and other with the other
api.!!!
Well I will appreciate any help .
Thanks in advanced
Pamela
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/