Jump to content

Andrzej

Members
  • Content Count

    15
  • Joined

  • Last visited

Posts posted by Andrzej


  1. I try use osMemento;

    I have problems with other because I need library for both: old a new Delphi.

    osMemento is OK, I have already converted binary->xml for files of report definition


  2. With overload - start working.

    I attach sample:

    with IntToStr(FCursor)

    But it fill all visible rows of grid with this value. Probably I must use cache but I don't know how much visible rows  has grid in dataset.

    What is standard way to do with them?

     

    send2.zip

     

    solution: ActiveBuffer:

    IntToStr(PRecordBuffer(ActiveBuffer)^.RecordIndex); give me correct


  3. I try using old FreeReport with new Delphi. Fr examples use BDE which is not in my new RAD. It uses BDE dataset and query. I am starting write own dataset. But still query.  It seems to be problematic due to SQL interpreter.

    I can use other query, for example standard query with my dataset? Or can be standard TQuery but dataset must handle SQL?


  4. I make examples after https://www.kvrsoft.com/articles/delphi-articles/database/db-controls.html. Also I see

    TGXBaseDataset and Paradox dataset from Github (I save here too many links)

    I attach example.

    It is half succeeded:

    - is numer of records

    - record nubers are continuus from start to last

    - two defined columns

     

    But I can't make any field visible, only header fields are visible.

    How make even fake field data iike 'abc'?

    I attached dpk with two components and test app.

    send.zip


  5. If this will be with blobs, how make visible data in table? I thought about SQL AES procedure to select.

    But is another problem - indices. I can't goto to decrypted value and sort by encrypted column.

    Select can use SQL procedure, but this procedure can be below hashing indices?

    For example

    Person1 - secret1

    Person2 - secret2

    Important: It must be possible dsplay secret for person.

    not so important: sort table by secret

    not so important: go to secret, or een part of secret

    Here secret is not password, rather is passport , car cart or other personal identifier.

     


  6. I am planning to crypt not whole database but some columns. I have Firebird database and FireDAC components.

    1. How make available to show table decrypted with FireDAC? I must use procedure with 'select' statement?

    2. Probably I must make salt.

    User password will be converted time consument way to 128,192, or 256 bit key. For example million od sha, but better Argon2 with memory consumed.

    But I have records. I don't want crypt each record as beginning crypted message - two identical records should give different crypted message.

    Is needed salt? How do it?

×