Hello Jeff:
You wrote in conference microsoft.public.access.adp.sqlserver on Tue, 24
May 2005 13:31:45 GMT:
JvA> I'm not familiar with UDP Broadcasting. Can you give me a bit more
JvA> information? I'm particularly interested in:
JvA> "In my project, when user A is opening an order which is being worked
JvA> with by user B, A receives a warning: "B is working with this record
and can
JvA> overwrite your changes; B's phone # is xxx." (phone number taken from
JvA> AD). This is done by UDP broadcasting on record opening."
if you have vb6, then you have winsock component. Create a sample project in
vb6 with it to see how it works. VB6 Online Help has a sample code, it's
very simple. Then, in ADP (with winsock control on the form, when UserA
opens the order, his ADP broadcasts "I'm opening order x". Others' ADP's
hear it and compare to the orders they are working with; whoever has the
match, broadcasts "I'm already working with order X; I'm UserB, my phone
xxx". UserB receives it and shows a message "John is already working with
this order, his phone xxx".
Perfect solution would also have 3rd message: in case UserA has decided to
go ahead, UserB should receive a warning about it: "you're not alone now".
Vadim