@zmbd
Hi zmbd, thank you for your reply, actually it works well on a form with one record, meaning one IP address, I call the function with this
Dim strPrinter As String
strPrinter = IP_Address.Value
If Not PrinterOnline(strPrinter) Then...
(the function is called PrinterOnline).
On the same form I have some combobox where I can select different criteria as the City or the Building where the printers are and through a button open a continuous form with the list of the printers resulting of the criteria choosen. On this continuous form I will ping each printer.
But even with an easier table, for exemple a list of PCs inside a continuous form, I don't know how call my function as if I do it, I have only the first record line result duplicated on each following lines.
Perhaps Schrock has given the solution but I don't yet understand how to implement it.
Thank you very much for your help!