Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP CRC Function
Message
From
21/12/2012 15:45:17
 
 
To
21/12/2012 15:04:06
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01560390
Message ID:
01560428
Views:
53
>OK, Thanks Gregory. Looks like too much work for what I need it for. I'll code the solution differently.


Come on, Jos, a bit of a challenge during the Christmas period

Alternatively, use MD5 - with WIN Api - faster - http://www.atoutfox.org/articles.asp?ACTION=FCONSULTER&ID=0000000627 or in C# download#37277





>
>>Jos,
>>
>>A C# implementation here Crc32 Thread #1521077 Message #1521077
>>
>>Same but with parallel processing Re: Crc32 Thread #1521077 Message #1521739
>>
>>
>>
>>>That's right Thomas :) I know how to use SYS(2007). I am thinking of trying to implement the function in another langauge if its not too much work.
>>>
>>>
>>>>Hmm,
>>>>
>>>>I thought Jos was after the code used to implement the vfp version OF sys(2007) to use perhaps in a another tier...
>>>>
>>>>Jooooos ?
>>>>
>>>>
>>>>
>>>>>ENTER IN THE COMMAND WINDOW
>>>>>HELP SYS(2007)
>>>>>
>>>>>I use it to compare 2 values to see if they no longer match. Such as when updating a remote MySQL database. No need to send the update over the wire if no changes where made. Note that I am leaving out the flags, etc here to simplify but you should get the idea.
>>>>>
>>>>>
nOrgCkVal =  SYS(2007,CustName)
>>>>>...user edits data here...
>>>>>before save
>>>>>if nOrgCkVal <> SYS(2007,CustName)
>>>>>  update the server cause the data has changed
>>>>>endif
>>>>>
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform