Hi all,
I want to know if there's a way code an application (.PBD) to dynamically change the contents of a RTF datawindow in runtime and saving the changes?
I have an idea in which I can think of but unfortunately unable to implement to date: -
a) Declare a .pbl file into the .pbr during build, as a temporary library to store the dw. If this method works then I can use Infomaker to edit the dw but in the event that Infomaker is not awailable, how would I be able to save the datawindow from my application?
b) Can I use the libraryexport() function to export the dw, with the changes to the text, and then reimport it back into the .pbl referenced in my .pbr file? Would it retain the original SQL without the retrieval arguments passed in? Or would it save it with the SQL in the getsqlselect()?
Thanks,
Kelvin
I want to know if there's a way code an application (.PBD) to dynamically change the contents of a RTF datawindow in runtime and saving the changes?
I have an idea in which I can think of but unfortunately unable to implement to date: -
a) Declare a .pbl file into the .pbr during build, as a temporary library to store the dw. If this method works then I can use Infomaker to edit the dw but in the event that Infomaker is not awailable, how would I be able to save the datawindow from my application?
b) Can I use the libraryexport() function to export the dw, with the changes to the text, and then reimport it back into the .pbl referenced in my .pbr file? Would it retain the original SQL without the retrieval arguments passed in? Or would it save it with the SQL in the getsqlselect()?
Thanks,
Kelvin