P. 1
Form Builder Referencia

Form Builder Referencia

|Views: 1,916|Likes:
Published by Daniel Viana

More info:

Published by: Daniel Viana on Mar 31, 2013
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

07/16/2013

pdf

text

original

Description

Reads sound object from the specified file into the specified sound item.

Syntax

READ_SOUND_FILE(file_name VARCHAR2,
file_type VARCHAR2,
item_id ITEM);
READ_SOUND_FILE(file_name VARCHAR2,
file_type VARCHAR2,
item_name VARCHAR2);

Built-in Type

unrestricted

Enter Query Mode Yes

Parameters:

file_name

The fully-qualified file name of the file that contains the sound object to be
read.

file_type

The file type for the sound data file. Valid values are: AU, AIFF, AIFF-C,
and WAVE. (Note: file type is optional, but should be specified if known
for increased performance.)

item_id

The unique ID Form Builder gave the sound item when you created it.

item_name

The name you gave the sound item when you created it.

Usage Notes

• Specifying a file type for the sound file is optional. If you know the file type, however, specifying it
can increase performance.

READ_SOUND_FILE restrictions

READ_SOUND_FILE examples

/* These procedure calls (attached to a When-Button-Pressed
** trigger) reads a sound object from the file system and plays
** it. Note: since a sound item must have focus in order to play
** a sound object, the trigger code includes a call to the
** built-in procedure GO_ITEM:
*/
BEGIN

IF :clerks.last_name EQ ’BARNES’ THEN
GO_ITEM(’orders.filled_by’);
READ_SOUND_FILE(’t:\orders\clerk\barnes.wav’,
’wave’,
’orders.filled_by’);
PLAY_SOUND(’orders.filled_by’);

END IF;

334

END;

335

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->