×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    7

    DBMS problem?How to get a col which type is EDbColLongText16?

    How to get a col which type is EDbColLongText16?Below is my code.When it run,a runtime exception is appeared.

    TPtrC content=view.ColDes16(1);

    If anyone knows something about it,please tell me.Thanks.

  2. #2
    Registered User
    Join Date
    Sep 2003
    Posts
    4
    . I have the same question. any guru can give some suggestion ?
    Last edited by attila2008; 2003-10-28 at 11:40.

  3. #3
    Registered User
    Join Date
    Aug 2003
    Posts
    5

    use RDbColReadStream

    I never tryed tio do it myself, but maybe it will help you:

    » Symbian OS v6.1 Edition for C++ » API Reference » DBMS Rowsets » RDbRowSet

    Accessing column values
    Description
    Small integral columns can be extracted as a wider integral type (up to 32-bits) provided that the following rule is used:

    In order to extract column data for a row, either

    the row must first have been retrieved using GetL(), or

    the rowset object is updating or inserting the row
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Long columns can only be read using the RDbColReadStream object, and the above conditions also apply.
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    signed columns must be extracted using a signed column accessor

    unsigned columns must be extracted using an unsigned column accessor

    Bit columns are considered to be single bit unsigned integers.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×