>>Dunno Viv,
>>
>>( Back from hibernation ? )
>>
>>There is somewhere a conversion process ( int x = 0 will be converted to an empty string, etc)
>>So, why not reuse that code instead of doing that conversion again with other code ?
>>
>>
>Because the method receives a string. From the C++ application we communicate with VFP application by passing XML strings back and forth.
>
>I am working on C# conversion of the VFP class library, so C++ application is going to remain as is.
>
Then, look at the vfp code, see what is done, and create a method (generic) that does the conversion like the vfp code does
Shouldn't be that hard
>It is passing the following string
>
>
><func>schedulebooking</func><tlNoCheck>.T.</tlNoCheck>
><tcactionlist><ACCOUNT></ACCOUNT><ADDIT_NO>
></ADDIT_NO><AMT_PAID></AMT_PAID><BACKCOLOR>33023</BACKCOLOR><BASE_ID></BASE_ID>
><BOOKING_ID>1921000000.00000</BOOKING_ID><CATEGORY>ADULTPROG</CATEGORY>
>
>(string truncated).
>
>So, in my code I first convert this string into Dictionary String, String (although I also added the same thing for String, Object) and then I want to compare, say, Addit_No which I passed with the value I have in the row in the table. In the table it's integer 0 and as you see it comes as empty string. So, they should be treated as the same and not be recorded in the history.
Gregory