<HTML>
<HEAD>
<TITLE>ARSperl Manual - ars_DeleteField</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<H2><CODE>ars_DeleteField(ctrl, schema, fieldId, deleteOption=0)</CODE></H2>
Delete the given field (specified as a field id) from the given
schema on the server connected to in
the given control structure. Refer to the ARS API Guide for an
explanation of the <CODE>deleteOption</CODE>.
<FONT COLOR="#FF0000">Requires Administrator privs to use.</FONT> <P>
<DL>
<DT><B>On success</B><DD>
Returns 1.
<DT><B>On failure</B><DD>
Returns 0.
</DL>
<P>Example:
<PRE>
ars_DeleteField($ctrl, "HD:HelpDesk", 536870920) || die "$ars_errstr";
</PRE>
<I>ars_DeleteField was introduced in version 1.5 of ARSperl</I>
<P>
<HR WIDTH="30%">
<P>
<A HREF="toc.html"><IMG ALT="<--" SRC="arrow.gif" ALIGN=CENTER> Table of Contents </A>
<p>
<address>
Last changes to this page 21st July 1997 by jcmurphy@arsperl.org<BR>
© J.C.Murphy, J.W.Murphy 1997 arsperl@arsperl.org
</address>
</BODY>
</HTML>