Martin,
That was a big help and I was able to fix my problem. Thanks!
>Hi Mike
>
>
DBC container (czech, but... ) and my simply utility FILE#
28060 for R/W DBC properties.
>
>MartinJ
>
>>I have some code that inserts two characters into some of a DBC's records, in the Properties field. Specifically, if the record defines a numeric field in a view definition, I am inserting a comma and the number of decimals into the DataType property. For example, if the value of the DataType property is MB(8), I am changing it to MB(8,4), with the number of decimals picked up from a metadata table. After doing that, I need to increase the property's length. From Doug Hennig's excellent article in FoxTalk a while back, which included his FixDBC utility, I know that the first four characters of the seven character string of low-order binary data preceding the property value store the length of the property. I know the length will never become more than 15 characters, so I think I can just add 2 to the first character. If so, how do I do that? Have not done much binary bit twiddling or binary addition in FoxPro (and assembler was waaaaaay too long ago to remember).
>>
>>Thanks in advance for any advice.