Hi,
I want to manipulate a virtual table with two independent cursors (like two independent tables). Is this possible and if yes, is there an example, please ?
TIA
Can I clone the cursor of a TVirtualTable ?
Re: Can I clone the cursor of a TVirtualTable ?
Hello,
Please describe the required functionality in more details.
Please describe the required functionality in more details.
Re: Can I clone the cursor of a TVirtualTable ?
Let say that i have a VTable in the memory loaded from a file. I set a range on this table but sometimes i need to access some records out of this range. It would be very useful to have a second table component with the same data buffer but different settings.
Something like or better than BDE's DbiCloneCursor
Something like or better than BDE's DbiCloneCursor
Re: Can I clone the cursor of a TVirtualTable ?
No, there is no such feature in VirtualTable.
Re: Can I clone the cursor of a TVirtualTable ?
At least is there a way to access the field values of another table row without changing the current row
Eg. i want to compare the value of the 3rd field of the current table row (table record) with the value of same field of another row (record).
Since all data are in memory, i suppose that it would be a way to randomly access them without moving from current record. Am i right ?
Eg. i want to compare the value of the 3rd field of the current table row (table record) with the value of same field of another row (record).
Since all data are in memory, i suppose that it would be a way to randomly access them without moving from current record. Am i right ?
Re: Can I clone the cursor of a TVirtualTable ?
No, TDataSet - the ancestor of the TVirtualTable class - doesn't allow to implement such behavior.