Hi,
If RThreshold is 1 then the OnComm should fire repeatedly and you should be able to build up the complete message eg
IF THIS.CommEvent = 2
IF THIS.InBufferCount>0
lcString = lcString+THIS.Input
If SomeCheckToSeeIflcStringIsComplete()
.......
But if, as you say, OnComm is NOT firing repeatedly then it's hard to know what the problem might be. This link has a VFP example which might help:http://support.microsoft.com/kb/q154741/
Best,
Viv
>oops, not a good thing then? Unless there is another way to get the data?
>
>>Setting RThreshold to 0 will disable the OnComm event.
>>
>>>RThreshold is set to 1.
>>>I will set it to 0 and try again.
>>>Thanks
>>>
>>>>What is the RThreshold value?
>>>>
>>>>For example, in my INIT of the control I use:
>>>>
>>>>* looks at each individual character from the buffer if set to more than zero
>>>>.RThreshold = 0
>>>>.Settings = "9600,N,8,1"
>>>>
>>>>This determines how many characters received to the onComm event. There is no reason it won't grab the same info if the settings are correct.