MSComm Control Blues
Posted on 1999-01-07
Hi, my problem is this. I am storing data coming from a device through my serial port. Easy huh! I have viewed the data using the hyper terminal and everything comes in line by line. Great! I have my application stroing the data into an Access table and it works great. However, the data is broken into two different parts. Well, then I removed all the code dealing with Access and used the immedate window to view what was coming across. AHHHHH! What's going on? The hyper terminal shows the data coming in line by line as such :
PORT 1 MAT 2 OFF LINE JAN 07, 1999 09:21:23
It looks great in hyper terminal! But why when I view it in the immediate window, it comes across like this
PORT 1 MAT 2 OFF LINE
JAN 07, 1999 09:21:23
These are two seperate lines. I increased the buffer size and made sure that the inbuffer count was big enough to accept this string. Now I have two records in Access. Help, I have exhausted my documentation. Please.