Working with an existing database I found this problem:
- Integer fields are handled as "ftString" in TIndexCursor.VariantToBuffer
- --> Locate always returns false because the key buffer is not filled correctly
Attached you will find:
- A lazarus project & little database to demonstrate the problem
- My patch for this problem (maybe not the best and/or full solution)