|This command does not require any parameters|
The BEEP command causes the PC or Macintosh to generate a beep. Your computer (on Windows or Macintosh) can emit a sound other than a beep, depending on the sound chosen in the Sound control panel.
Warning: Do not call BEEP from within a Web connection process, because the beep will be produced on the 4th Dimension Web server machine and not on the client Web browser machine.
In the following example, if no records are found by the query, a beep is emitted and an alert is displayed:
QUERY([Customers];[Customers]Name=$vsNameToLookFor) If (Records in selection([Customers])=0) BEEP ALERT("There is no Customer with such a name.") End if