>What is your objection to the code that you listed?
>
>>DO WHILE !EOF()
>>REPLACE field1 WITH value1
>>REPLACE field2 WITH value2
>>REPLACE field3 WITH value3
>>REPLACE field4 WITH value4
>>REPLACE field5 WITH value5
>>
>>*....replace more fields
>>
>>SKIP
>>
>>LOOP
>>
>>ENDDO
This code can be done in one line:
REPLACE ALL Field1 with Value1,;
Field2 with Value2,;
Field3 with Value3,;
Field4 with Value4,;
Field5 with Value5
And, it will run alot faster than above... OF COURSE... I think that this may also do a file lock... so, if you need to avoid that, the avbove way, while a bit less efficient will only lock records. So, there is really more GRAY here than black and white.
BOb
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only