This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C01C39.709F19C4
Content-Type: text/plain;
        charset="iso-8859-1"

Like this...

UPDATE Food                                             
SET Hits = (Hits+1)

HTH,

Robert
-----Original Message-----
From: Jeremy Toevs [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 11, 2000 4:36 PM
To: [EMAIL PROTECTED]
Subject: Numeric Field


How exactly would I write this query, my table name being FOOD and field
being HITS.

>>> Robert Hinojosa <[EMAIL PROTECTED]> 09/08/00 12:39PM >>>

Try This

UPDATE Products                                                 
SET ProdCount = (ProdCount+1)

HTH,

Robert

-----Original Message-----
From: Jeremy Toevs [mailto:[EMAIL PROTECTED]] 
Sent: Friday, September 08, 2000 12:58 PM
To: [EMAIL PROTECTED] 
Subject: Numeric Field


Is there a way to write a query that will add 1 to a numberic field in a
database? Meaning everytime the query is ran, it adds 1 to the current
number that is in the database. (example: if the database says 3 and I run
the query it will then say 4).

This may be a dumb question but it doesn't hurt to ask.

Thanks
Jeremy

----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/ 
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------_=_NextPart_001_01C019CC.8AAEC54A
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>RE: Numeric Field</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Try This</FONT>
</P>

<P><FONT SIZE=3D2>UPDATE Products =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2>SET ProdCount =3D (ProdCount+1)</FONT>
</P>

<P><FONT SIZE=3D2>HTH,</FONT>
</P>

<P><FONT SIZE=3D2>Robert</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Jeremy Toevs [<A =
HREF=3D"mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Friday, September 08, 2000 12:58 PM</FONT>
<BR><FONT SIZE=3D2>To: [EMAIL PROTECTED]</FONT>
<BR><FONT SIZE=3D2>Subject: Numeric Field</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Is there a way to write a query that will add 1 to a =
numberic field in a database? Meaning everytime the query is ran, it =
adds 1 to the current number that is in the database. (example: if the =
database says 3 and I run the query it will then say 4).</FONT></P>

<P><FONT SIZE=3D2>This may be a dumb question but it doesn't hurt to =
ask.</FONT>
</P>

<P><FONT SIZE=3D2>Thanks</FONT>
<BR><FONT SIZE=3D2>Jeremy</FONT>
</P>

<P><FONT =
SIZE=3D2>---------------------------------------------------------------=
---------------</FONT>
<BR><FONT SIZE=3D2>Archives: <A =
HREF=3D"http://www.mail-archive.com/[email protected]/" =
TARGET=3D"_blank">http://www.mail-archive.com/[email protected]/= 
</A></FONT>
<BR><FONT SIZE=3D2>To Unsubscribe visit <A =
HREF=3D"http://www.houseoffusion.com/index.cfm?sidebar=3Dlists&body=3Dli= 
sts/cf_talk" =
TARGET=3D"_blank">http://www.houseoffusion.com/index.cfm?sidebar=3Dlists= 
&body=3Dlists/cf_talk</A> or send a message to =
[EMAIL PROTECTED] with 'unsubscribe' in the =
body.</FONT></P>

</BODY>
</HTML>
------_=_NextPart_001_01C019CC.8AAEC54A--
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/ 
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/ 
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------_=_NextPart_001_01C01C39.709F19C4
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>RE: Numeric Field</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Like this...</FONT>
</P>

<P><FONT SIZE=3D2>UPDATE Food &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2>SET Hits =3D (Hits+1)</FONT>
</P>

<P><FONT SIZE=3D2>HTH,</FONT>
</P>

<P><FONT SIZE=3D2>Robert</FONT>
<BR><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Jeremy Toevs [<A =
HREF=3D"mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Monday, September 11, 2000 4:36 PM</FONT>
<BR><FONT SIZE=3D2>To: [EMAIL PROTECTED]</FONT>
<BR><FONT SIZE=3D2>Subject: Numeric Field</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>How exactly would I write this query, my table name =
being FOOD and field being HITS.</FONT>
</P>

<P><FONT SIZE=3D2>&gt;&gt;&gt; Robert Hinojosa =
&lt;[EMAIL PROTECTED]&gt; 09/08/00 12:39PM &gt;&gt;&gt;</FONT>
</P>

<P><FONT SIZE=3D2>Try This</FONT>
</P>

<P><FONT SIZE=3D2>UPDATE Products =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2>SET ProdCount =3D (ProdCount+1)</FONT>
</P>

<P><FONT SIZE=3D2>HTH,</FONT>
</P>

<P><FONT SIZE=3D2>Robert</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Jeremy Toevs [<A =
HREF=3D"mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</A>] </FONT>
<BR><FONT SIZE=3D2>Sent: Friday, September 08, 2000 12:58 PM</FONT>
<BR><FONT SIZE=3D2>To: [EMAIL PROTECTED] </FONT>
<BR><FONT SIZE=3D2>Subject: Numeric Field</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Is there a way to write a query that will add 1 to a =
numberic field in a</FONT>
<BR><FONT SIZE=3D2>database? Meaning everytime the query is ran, it =
adds 1 to the current</FONT>
<BR><FONT SIZE=3D2>number that is in the database. (example: if the =
database says 3 and I run</FONT>
<BR><FONT SIZE=3D2>the query it will then say 4).</FONT>
</P>

<P><FONT SIZE=3D2>This may be a dumb question but it doesn't hurt to =
ask.</FONT>
</P>

<P><FONT SIZE=3D2>Thanks</FONT>
<BR><FONT SIZE=3D2>Jeremy</FONT>
</P>

<P><FONT =
SIZE=3D2>---------------------------------------------------------------=
-------------</FONT>
<BR><FONT SIZE=3D2>--</FONT>
<BR><FONT SIZE=3D2>Archives: <A =
HREF=3D"http://www.mail-archive.com/[email protected]/" =
TARGET=3D"_blank">http://www.mail-archive.com/[email protected]/=
</A> </FONT>
<BR><FONT SIZE=3D2>To Unsubscribe visit</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://www.houseoffusion.com/index.cfm?sidebar=3Dlists&body=3Dli=
sts/cf_talk" =
TARGET=3D"_blank">http://www.houseoffusion.com/index.cfm?sidebar=3Dlists=
&body=3Dlists/cf_talk</A> or</FONT>
<BR><FONT SIZE=3D2>send a message to [EMAIL PROTECTED] =
with 'unsubscribe' in</FONT>
<BR><FONT SIZE=3D2>the body.</FONT>
</P>

<P><FONT SIZE=3D2>------_=3D_NextPart_001_01C019CC.8AAEC54A</FONT>
<BR><FONT SIZE=3D2>Content-Type: text/html;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>charset=3D&quot;iso-8859-1&quot;</FONT>
<BR><FONT SIZE=3D2>Content-Transfer-Encoding: quoted-printable</FONT>
</P>

<P><FONT SIZE=3D2>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML =
3.2//EN&quot;&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;HTML&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;HEAD&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;META HTTP-EQUIV=3D3D&quot;Content-Type&quot; =
CONTENT=3D3D&quot;text/html; =3D</FONT>
<BR><FONT SIZE=3D2>charset=3D3Diso-8859-1&quot;&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;META NAME=3D3D&quot;Generator&quot; =
CONTENT=3D3D&quot;MS Exchange Server version =3D</FONT>
<BR><FONT SIZE=3D2>5.5.2650.12&quot;&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;TITLE&gt;RE: Numeric Field&lt;/TITLE&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;/HEAD&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;BODY&gt;</FONT>
</P>

<P><FONT SIZE=3D2>&lt;P&gt;&lt;FONT SIZE=3D3D2&gt;Try =
This&lt;/FONT&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;/P&gt;</FONT>
</P>

<P><FONT SIZE=3D2>&lt;P&gt;&lt;FONT SIZE=3D3D2&gt;UPDATE Products =
=3D</FONT>
<BR><FONT =
SIZE=3D2>&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&am=
p;nbsp; =3D</FONT>
<BR><FONT =
SIZE=3D2>&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&am=
p;nbsp; =3D</FONT>
<BR><FONT =
SIZE=3D2>&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&am=
p;nbsp; =3D</FONT>
<BR><FONT =
SIZE=3D2>&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&am=
p;nbsp; =3D</FONT>
<BR><FONT =
SIZE=3D2>&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&am=
p;nbsp; =3D</FONT>
<BR><FONT =
SIZE=3D2>&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&am=
p;nbsp; &lt;/FONT&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;BR&gt;&lt;FONT SIZE=3D3D2&gt;SET ProdCount =3D3D =
(ProdCount+1)&lt;/FONT&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;/P&gt;</FONT>
</P>

<P><FONT SIZE=3D2>&lt;P&gt;&lt;FONT =
SIZE=3D3D2&gt;HTH,&lt;/FONT&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;/P&gt;</FONT>
</P>

<P><FONT SIZE=3D2>&lt;P&gt;&lt;FONT =
SIZE=3D3D2&gt;Robert&lt;/FONT&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;/P&gt;</FONT>
</P>

<P><FONT SIZE=3D2>&lt;P&gt;&lt;FONT SIZE=3D3D2&gt;-----Original =
Message-----&lt;/FONT&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;BR&gt;&lt;FONT SIZE=3D3D2&gt;From: Jeremy Toevs =
[&lt;A =3D</FONT>
<BR><FONT SIZE=3D2>HREF=3D3D&quot;<A =
HREF=3D"mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</A>&quot;&gt;<A=
 =
HREF=3D"mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</A>&lt;/A&gt;]&=
lt;/FONT&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;BR&gt;&lt;FONT SIZE=3D3D2&gt;Sent: Friday, =
September 08, 2000 12:58 PM&lt;/FONT&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;BR&gt;&lt;FONT SIZE=3D3D2&gt;To: =
[EMAIL PROTECTED]&lt;/FONT&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;BR&gt;&lt;FONT SIZE=3D3D2&gt;Subject: Numeric =
Field&lt;/FONT&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;/P&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;BR&gt;</FONT>
</P>

<P><FONT SIZE=3D2>&lt;P&gt;&lt;FONT SIZE=3D3D2&gt;Is there a way to =
write a query that will add 1 to a =3D</FONT>
<BR><FONT SIZE=3D2>numberic field in a database? Meaning everytime the =
query is ran, it =3D</FONT>
<BR><FONT SIZE=3D2>adds 1 to the current number that is in the =
database. (example: if the =3D</FONT>
<BR><FONT SIZE=3D2>database says 3 and I run the query it will then say =
4).&lt;/FONT&gt;&lt;/P&gt;</FONT>
</P>

<P><FONT SIZE=3D2>&lt;P&gt;&lt;FONT SIZE=3D3D2&gt;This may be a dumb =
question but it doesn't hurt to =3D</FONT>
<BR><FONT SIZE=3D2>ask.&lt;/FONT&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;/P&gt;</FONT>
</P>

<P><FONT SIZE=3D2>&lt;P&gt;&lt;FONT =
SIZE=3D3D2&gt;Thanks&lt;/FONT&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;BR&gt;&lt;FONT =
SIZE=3D3D2&gt;Jeremy&lt;/FONT&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;/P&gt;</FONT>
</P>

<P><FONT SIZE=3D2>&lt;P&gt;&lt;FONT =3D</FONT>
<BR><FONT =
SIZE=3D2>SIZE=3D3D2&gt;-------------------------------------------------=
--------------=3D</FONT>
<BR><FONT SIZE=3D2>---------------&lt;/FONT&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;BR&gt;&lt;FONT SIZE=3D3D2&gt;Archives: &lt;A =
=3D</FONT>
<BR><FONT SIZE=3D2>HREF=3D3D&quot;<A =
HREF=3D"http://www.mail-archive.com/[email protected]/" =
TARGET=3D"_blank">http://www.mail-archive.com/[email protected]/=
</A>&quot; =3D</FONT>
<BR><FONT SIZE=3D2>TARGET=3D3D&quot;_blank&quot;&gt;<A =
HREF=3D"http://www.mail-archive.com/[email protected]/=3D" =
TARGET=3D"_blank">http://www.mail-archive.com/[email protected]/=
=3D</A> </FONT>
<BR><FONT SIZE=3D2>&lt;/A&gt;&lt;/FONT&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;BR&gt;&lt;FONT SIZE=3D3D2&gt;To Unsubscribe =
visit &lt;A =3D</FONT>
<BR><FONT SIZE=3D2>HREF=3D3D&quot;<A =
HREF=3D"http://www.houseoffusion.com/index.cfm?sidebar=3D3Dlists&body=3D=
3Dli=3D" TARGET=3D"_blank">http://www.houseoffusion.com/index.cfm?sideba=
r=3D3Dlists&body=3D3Dli=3D</A> </FONT>
<BR><FONT SIZE=3D2>sts/cf_talk&quot; =3D</FONT>
<BR><FONT SIZE=3D2>TARGET=3D3D&quot;_blank&quot;&gt;<A =
HREF=3D"http://www.houseoffusion.com/index.cfm?sidebar=3D3Dlists=3D" =
TARGET=3D"_blank">http://www.houseoffusion.com/index.cfm?sidebar=3D3Dlis=
ts=3D</A> </FONT>
<BR><FONT SIZE=3D2>&amp;body=3D3Dlists/cf_talk&lt;/A&gt; or send a =
message to =3D</FONT>
<BR><FONT SIZE=3D2>[EMAIL PROTECTED] with 'unsubscribe' =
in the =3D</FONT>
<BR><FONT SIZE=3D2>body.&lt;/FONT&gt;&lt;/P&gt;</FONT>
</P>

<P><FONT SIZE=3D2>&lt;/BODY&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;/HTML&gt;</FONT>
<BR><FONT SIZE=3D2>------_=3D_NextPart_001_01C019CC.8AAEC54A--</FONT>
<BR><FONT =
SIZE=3D2>---------------------------------------------------------------=
---------------</FONT>
<BR><FONT SIZE=3D2>Archives: <A =
HREF=3D"http://www.mail-archive.com/[email protected]/" =
TARGET=3D"_blank">http://www.mail-archive.com/[email protected]/=
</A> </FONT>
<BR><FONT SIZE=3D2>To Unsubscribe visit <A =
HREF=3D"http://www.houseoffusion.com/index.cfm?sidebar=3Dlists&body=3Dli=
sts/cf_talk" =
TARGET=3D"_blank">http://www.houseoffusion.com/index.cfm?sidebar=3Dlists=
&body=3Dlists/cf_talk</A> or send a message to =
[EMAIL PROTECTED] with 'unsubscribe' in the =
body.</FONT></P>

<P><FONT =
SIZE=3D2>---------------------------------------------------------------=
---------------</FONT>
<BR><FONT SIZE=3D2>Archives: <A =
HREF=3D"http://www.mail-archive.com/[email protected]/" =
TARGET=3D"_blank">http://www.mail-archive.com/[email protected]/=
</A> </FONT>
<BR><FONT SIZE=3D2>To Unsubscribe visit <A =
HREF=3D"http://www.houseoffusion.com/index.cfm?sidebar=3Dlists&body=3Dli=
sts/cf_talk" =
TARGET=3D"_blank">http://www.houseoffusion.com/index.cfm?sidebar=3Dlists=
&body=3Dlists/cf_talk</A> or send a message to =
[EMAIL PROTECTED] with 'unsubscribe' in the =
body.</FONT></P>

<P><FONT =
SIZE=3D2>---------------------------------------------------------------=
---------------</FONT>
<BR><FONT SIZE=3D2>Archives: <A =
HREF=3D"http://www.mail-archive.com/[email protected]/" =
TARGET=3D"_blank">http://www.mail-archive.com/[email protected]/=
</A></FONT>
<BR><FONT SIZE=3D2>To Unsubscribe visit <A =
HREF=3D"http://www.houseoffusion.com/index.cfm?sidebar=3Dlists&body=3Dli=
sts/cf_talk" =
TARGET=3D"_blank">http://www.houseoffusion.com/index.cfm?sidebar=3Dlists=
&body=3Dlists/cf_talk</A> or send a message to =
[EMAIL PROTECTED] with 'unsubscribe' in the =
body.</FONT></P>

</BODY>
</HTML>
------_=_NextPart_001_01C01C39.709F19C4--
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to