amorosik
Member
- Local time
- Today, 01:56
- Joined
- Apr 18, 2020
- Messages
- 540
I hoped someone will ask. But seems everyone has the answer and I'm the only one who has no clue. Ok, I'll step forward and ask it.
How Sub tcpServer_DataArrival is executed? Do you have a timer in your form to fire it?
thanks
No, there is no need for timer
When data arrive 'from the outer space' tcpServer_DataArrival is triggered and code inside is executed
You can easily try using any client that allows socket connections, for example the Hercules program (hw-group.com)
After configuring the program, in the Tcp Client tab, enter the IP address of the PC where your Access program runs, enter the desired port (in this case 12345) and press 'Connect' to establish the connection
At this point, everything you type in 'Received/sent Data' will appear in the textbox of your Access form
But this is not the request
I remember is "if it is possible to pass a recordset of data in memory to a report to start a print"