Oma :

>>
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 
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)
<<

Thanks for this clever idea.
However, I am a bit axious about rebuilding my original INI file ...
First thing I noticed is that the new INI file exported with GATEWAY is 1
byte shorter than is original one :
the last char. of the file : Hex 1A (EOF) is missing ...
I'll have to test if this don't make any trouble ...

But your solution is acceptable because I only have to change existing
lines (no new line to add).

Some more questions about it :
- Why your column has to be defined as NOTE 512 ? Would it make any
difference if it was TEXT 64 for instance ?
- Do you use this solution often witout any problem (I'll have to use it
many time per day ...) ?

Thanks again,

J.M. GRATIAS, Logimatique, France

Reply via email to