On Oct 16, 2006, at 4:32 AM, Scott Goelzer wrote:

Thanks Norman,
Just to be sure I understand, an individual connection would mean something like

 start the thread running.
rs = new recordset

rs = mydatabase.SQLSelect(someQuery)

if App.myDatabase.ErrorCode >0 then

...
do stuff with rs 'code inside the thread


No
You need to do a Connect in each thread
Getting a record set just uses an existing connection

I will now display my complete ignorance of threads and wish for more concrete examples: In a thread, if I call a function or method stored in a module does that run as entirely separate code? I'm curious about what happens if a function or module is called to run concurrently with a thread. Does it work and behave?
How about multiple identical threads running?

No problem with any of this


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to