J.M. GRATIAS, Logimatique, France
<I need to update a INI file from within my RBW6.5+ app.>
I've used this method to modify ini files.
check to see if temp table has been created
if yes delete any items in it
if no create it
create a temp table (initable) with one note column (inidata note 512) with
the size of the note field being 512
(create temporary table InItable (inidata note 512)
use gateway command to import the file using txt format (gateway import txt
win.ini replace InItable)
then update or add the items needed
use gateway to export the temp table to file using txt format (gateway
export txt win.ini select * from InItable)
it worked in all the applications I've used it on so far.
Best regards,
Oma