Page 1 of 1
Virtual strings in DBF
Posted: Thu Sep 28, 2023 9:05 am
by Natter
Is it possible to work with virtual (not physical) strings in DBF ?
Re: Virtual strings in DBF
Posted: Thu Sep 28, 2023 9:27 am
by Antonio Linares
Dear Yuri,
What is a virtual string ?
Re: Virtual strings in DBF
Posted: Thu Sep 28, 2023 9:49 am
by Natter
Something like that:
In the open DBF (In exclusive mode), we add lines, but do not save them to disk.
These lines exist only while the database is open.
Re: Virtual strings in DBF
Posted: Thu Sep 28, 2023 10:45 am
by Carles
Natter,
Prueba de usar el rddarray
C.
Re: Virtual strings in DBF
Posted: Thu Sep 28, 2023 11:05 am
by Natter
Thanks for the advice. Is it possible to learn more about using RddArray ?
Re: Virtual strings in DBF
Posted: Thu Sep 28, 2023 11:24 am
by Carles
Re: Virtual strings in DBF
Posted: Thu Sep 28, 2023 11:37 am
by Natter
If I understood correctly, then we are talking about creating a DBF in memory and working with it.
If so, then this is not exactly what I need. I need to open an existing DBF on disk (which already has some strings) and
add virtual strings to it. I.e., the physical strings of this DBF will be available to everyone, and the virtual ones only to me.
Re: Virtual strings in DBF
Posted: Thu Sep 28, 2023 12:19 pm
by Carles
Then u could use triggers with rdd. Every time update a field then it will update a dbf tmp with the same struct.
C.
Re: Virtual strings in DBF
Posted: Thu Sep 28, 2023 12:25 pm
by Carles
Re: Virtual strings in DBF
Posted: Thu Sep 28, 2023 1:08 pm
by Jimmy
hi Natter.
what about "GhostRec"

Re: Virtual strings in DBF
Posted: Thu Sep 28, 2023 1:32 pm
by Natter
What is this ?
Re: Virtual strings in DBF
Posted: Thu Sep 28, 2023 3:34 pm
by Jimmy
hi Natter,
"GhostRec" -> EOF() + 1
Re: Virtual strings in DBF
Posted: Thu Sep 28, 2023 6:36 pm
by Natter
Thank you, Jimmy, Interesting idea !