This is a multi-part message in MIME format.

------=_NextPart_000_0013_01C3CFAA.50180FD0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello All,
I don't know if this is the right group or not to discuss this issue =
with, but I am hoping so. I have an SQL database and am trying to use =
frontpage as my interface. I am able to query the database fine and =
present the data on a webpage; however, I want a way to modify- add =
entries and such from the website. The question is, how do I do this =
within Frontpage on an interrelational database.

For a simple example. I have these three tables tblstaff, tblposition, =
tblstaffposition

tblstaff is just an sequence number for each staff, the staff's first =
and last name
tblposition is just a sequence number and the positions
tblstaffposition is just sequence number for staff and sequence number =
for position

If I use the following, I get results and with modifying which fields =
get shown, I can have the results of just the staffs' names and position

SELECT tblstaff.iseq, tblstaff.clname, tblstaff.cfname, =
tblposition.iseq, tblposition.cposition, tblstaffposition.iseqStaff, =
tblstaffposition.iseqPosition
FROM tblstaff, tblposition, tblstaffposition
WHERE tblstaffposition.iseqstaff =3D tblstaff.iseq=20
AND tblstaffposition.iseqposition =3D tblposition.iseq

However, I want to be able to add new staff and assign them positions =
within the webpage. THat is where I am stuck at. I can create a =
submittal page for tblstaffposition and be able to enter the sequence =
number for staff and position. But what I want to do is add a staff =
name and from a drop down list, click on position and for the webpage to =
add the staff member into tblstaff with a new sequence number and to add =
the staff name sequence number and position name sequence number into =
tblstaffposition

Can someone point me in the right direction.


--=20
Robert Cohen
A legend in his own mind
--

------=_NextPart_000_0013_01C3CFAA.50180FD0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello All,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; I don't know if this =
is the=20
right group or not to discuss this issue with, but I am hoping so.&nbsp; =
I have=20
an SQL database and am trying to use frontpage as my interface.&nbsp; I =
am able=20
to query the database fine and present the data on a webpage; however, I =
want a=20
way to modify- add entries and such from the website.&nbsp; The question =
is, how=20
do I do this within Frontpage on an interrelational =
database.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>For a simple example.&nbsp; I have =
these three=20
tables tblstaff, tblposition, tblstaffposition</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>tblstaff is just an sequence number for =
each staff,=20
the staff's first and last name</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>tblposition is just a sequence number =
and the=20
positions</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>tblstaffposition is just sequence =
number for staff=20
and sequence number for position</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>If I use the following, I get results =
and with=20
modifying which fields get shown, I can have the results of just the =
staffs'=20
names and position</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>SELECT tblstaff.iseq, tblstaff.clname,=20
tblstaff.cfname, tblposition.iseq, tblposition.cposition,=20
tblstaffposition.iseqStaff, tblstaffposition.iseqPosition<BR>FROM =
tblstaff,=20
tblposition, tblstaffposition<BR>WHERE tblstaffposition.iseqstaff =3D=20
tblstaff.iseq <BR>AND tblstaffposition.iseqposition =3D=20
tblposition.iseq</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>However, I want to be able to add new =
staff and=20
assign them positions within the webpage.&nbsp; THat is where I am stuck =

at.&nbsp; I can create a submittal page for tblstaffposition and be able =
to=20
enter the sequence number for staff and position.&nbsp; But what I want =
to do is=20
add a staff name and from a drop down list, click on position and for =
the=20
webpage to add the staff member into tblstaff with a new sequence number =
and to=20
add the staff name sequence number and position name sequence number =
into=20
tblstaffposition</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Can someone point me in the right=20
direction.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;</DIV>
<DIV><BR>-- <BR>Robert Cohen<BR>A legend in his own=20
mind<BR>--<BR></DIV></FONT></BODY></HTML>

------=_NextPart_000_0013_01C3CFAA.50180FD0--

Re: Programming SQL Database by David

David
Wed Dec 31 16:20:11 CST 2003

This is a multi-part message in MIME format.

------=_NextPart_000_0087_01C3CFC2.586EFE60
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

The best way to do this is to use ASP and a Stored Procedure in SQL =
Server. Create the Stored Procedure to do your updates/inserts and then =
pass the values to it using ASP code. You can find sample ASP scripts =
at:

www.aspfaqs.com
www.4guysfromrolla.com
www.learnasp.com
www.takempis.com
www.asp101.com


--=20
David Berry - MCP
Microsoft MVP - FrontPage
FrontPage Support: http://www.net-sites.com/sitebuilder/
-----------------------------------
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
-----------------------------------
"Robert Cohen" <rcohen@NOSPAM.bbhtx.org> wrote in message =
news:ueuY5R9zDHA.2160@TK2MSFTNGP12.phx.gbl...
Hello All,
I don't know if this is the right group or not to discuss this =
issue with, but I am hoping so. I have an SQL database and am trying to =
use frontpage as my interface. I am able to query the database fine and =
present the data on a webpage; however, I want a way to modify- add =
entries and such from the website. The question is, how do I do this =
within Frontpage on an interrelational database.

For a simple example. I have these three tables tblstaff, =
tblposition, tblstaffposition

tblstaff is just an sequence number for each staff, the staff's first =
and last name
tblposition is just a sequence number and the positions
tblstaffposition is just sequence number for staff and sequence number =
for position

If I use the following, I get results and with modifying which fields =
get shown, I can have the results of just the staffs' names and position

SELECT tblstaff.iseq, tblstaff.clname, tblstaff.cfname, =
tblposition.iseq, tblposition.cposition, tblstaffposition.iseqStaff, =
tblstaffposition.iseqPosition
FROM tblstaff, tblposition, tblstaffposition
WHERE tblstaffposition.iseqstaff =3D tblstaff.iseq=20
AND tblstaffposition.iseqposition =3D tblposition.iseq

However, I want to be able to add new staff and assign them positions =
within the webpage. THat is where I am stuck at. I can create a =
submittal page for tblstaffposition and be able to enter the sequence =
number for staff and position. But what I want to do is add a staff =
name and from a drop down list, click on position and for the webpage to =
add the staff member into tblstaff with a new sequence number and to add =
the staff name sequence number and position name sequence number into =
tblstaffposition

Can someone point me in the right direction.


--=20
Robert Cohen
A legend in his own mind
--

------=_NextPart_000_0087_01C3CFC2.586EFE60
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>The best way to do this is to use ASP and a Stored =
Procedure=20
in SQL Server.&nbsp; Create the Stored Procedure to do your =
updates/inserts and=20
then pass the values to it using ASP code.&nbsp; You can find sample ASP =
scripts=20
at:</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2><A=20
href=3D"http://www.aspfaqs.com">www.aspfaqs.com</A></FONT></DIV>
<DIV><FONT size=3D2><A=20
href=3D"http://www.4guysfromrolla.com">www.4guysfromrolla.com</A></FONT><=
/DIV>
<DIV><FONT size=3D2><A=20
href=3D"http://www.learnasp.com">www.learnasp.com</A></FONT></DIV>
<DIV><FONT size=3D2><A=20
href=3D"http://www.takempis.com">www.takempis.com</A></FONT></DIV>
<DIV><FONT size=3D2><A=20
href=3D"http://www.asp101.com">www.asp101.com</A></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>-- <BR>David Berry - MCP<BR>Microsoft MVP - =
FrontPage<BR>FrontPage=20
Support: <A=20
href=3D"http://www.net-sites.com/sitebuilder/">http://www.net-sites.com/s=
itebuilder/</A><BR>-----------------------------------<BR>To=20
assist you in getting the best answers for FrontPage support =
see:<BR>&nbsp; <A=20
href=3D"http://www.net-sites.com/sitebuilder/newsgroups.asp">http://www.n=
et-sites.com/sitebuilder/newsgroups.asp</A><BR>--------------------------=
---------</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Robert Cohen" &lt;<A=20
=
href=3D"mailto:rcohen@NOSPAM.bbhtx.org">rcohen@NOSPAM.bbhtx.org</A>&gt; =
wrote in=20
message <A=20
=
href=3D"news:ueuY5R9zDHA.2160@TK2MSFTNGP12.phx.gbl">news:ueuY5R9zDHA.2160=
@TK2MSFTNGP12.phx.gbl</A>...</DIV>
<DIV><FONT face=3DArial size=3D2>Hello All,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; I don't know if =
this is the=20
right group or not to discuss this issue with, but I am hoping =
so.&nbsp; I=20
have an SQL database and am trying to use frontpage as my =
interface.&nbsp; I=20
am able to query the database fine and present the data on a webpage; =
however,=20
I want a way to modify- add entries and such from the website.&nbsp; =
The=20
question is, how do I do this within Frontpage on an interrelational=20
database.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>For a simple example.&nbsp; I have =
these three=20
tables tblstaff, tblposition, tblstaffposition</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>tblstaff is just an sequence number =
for each=20
staff, the staff's first and last name</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>tblposition is just a sequence number =
and the=20
positions</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>tblstaffposition is just sequence =
number for=20
staff and sequence number for position</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>If I use the following, I get results =
and with=20
modifying which fields get shown, I can have the results of just the =
staffs'=20
names and position</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>SELECT tblstaff.iseq, =
tblstaff.clname,=20
tblstaff.cfname, tblposition.iseq, tblposition.cposition,=20
tblstaffposition.iseqStaff, tblstaffposition.iseqPosition<BR>FROM =
tblstaff,=20
tblposition, tblstaffposition<BR>WHERE tblstaffposition.iseqstaff =3D=20
tblstaff.iseq <BR>AND tblstaffposition.iseqposition =3D=20
tblposition.iseq</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>However, I want to be able to add new =
staff and=20
assign them positions within the webpage.&nbsp; THat is where I am =
stuck=20
at.&nbsp; I can create a submittal page for tblstaffposition and be =
able to=20
enter the sequence number for staff and position.&nbsp; But what I =
want to do=20
is add a staff name and from a drop down list, click on position and =
for the=20
webpage to add the staff member into tblstaff with a new sequence =
number and=20
to add the staff name sequence number and position name sequence =
number into=20
tblstaffposition</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Can someone point me in the right=20
direction.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;</DIV>
<DIV><BR>-- <BR>Robert Cohen<BR>A legend in his own=20
mind<BR>--<BR></DIV></BLOCKQUOTE></FONT></BODY></HTML>

------=_NextPart_000_0087_01C3CFC2.586EFE60--