PC Review


Reply
Thread Tools Rate Thread

Access Database with Sub Form

 
 
=?Utf-8?B?bmVlbm1hcmll?=
Guest
Posts: n/a
 
      23rd May 2005
I have an access database that is a recipe list. It uses a Master Form with
an Auto Number for an ID and a Subform that connects to the master by the
AutoID. The Master has The autoID, Submitter Name, Recipe Name, Type of
Recipe and Instructions.

The Sub form is a list of the ingredients and is connected by the AutoID so
each record automatically has the Master's AutoID filled in a field..

Can I do this the same way on a website...can I have a form within a form
that is linked and will automatically fill-in the master's autoID to keep all
the ingredients with the master recipe?

If so, How do I get started?
 
Reply With Quote
 
 
 
 
=?Utf-8?B?SmltIEJ1eWVucw==?=
Guest
Posts: n/a
 
      23rd May 2005
If you're using the FrontPage Database Results Wizard, you would typically
create a Recipe page with one line for each recipe. On page 2 of the wizard,
you would define a custom query that produced a calculated field such as:

SELECT ..., '<href="ingredients.asp?id=' & [autoid] & '">' & [RecipeName] &
'</a>' as ingredientslink, ...

This will create hyperlinks such as
<a href="ingredients.asp?id=5">Marie's Joy Juice</a>

When the wizard ends, right-click the <<ingredientslink>> component in the
database results region and select Column Value Contains HTML.

Then, create the ingredients.asp page, which wil use another DRW, except
that this time on page 3 of the wizard you establish the id form field as a
criteria.

Jim Buyens
Microsoft MVP
http://www.interlacken.com
Author of:
*-----------------------------Â*-----------------------
|\----------------------------Â*-----------------------
|| Microsoft Windows SharePoint Services Inside Out
|| Microsoft Office FrontPage 2003 Inside Out
||----------------------------Â*-----------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/----------------------------Â*-----------------------
*-----------------------------Â*-----------------------

"neenmarie" wrote:

> I have an access database that is a recipe list. It uses a Master Form with
> an Auto Number for an ID and a Subform that connects to the master by the
> AutoID. The Master has The autoID, Submitter Name, Recipe Name, Type of
> Recipe and Instructions.
>
> The Sub form is a list of the ingredients and is connected by the AutoID so
> each record automatically has the Master's AutoID filled in a field..
>
> Can I do this the same way on a website...can I have a form within a form
> that is linked and will automatically fill-in the master's autoID to keep all
> the ingredients with the master recipe?
>
> If so, How do I get started?

 
Reply With Quote
 
=?Utf-8?B?bmVlbm1hcmll?=
Guest
Posts: n/a
 
      23rd May 2005
Thx for your quick response. I'll try this. Will this allow data entry into
the database and fill in the master id to the ingredients table? Or is this
for viewing the results only?

"Jim Buyens" wrote:

> If you're using the FrontPage Database Results Wizard, you would typically
> create a Recipe page with one line for each recipe. On page 2 of the wizard,
> you would define a custom query that produced a calculated field such as:
>
> SELECT ..., '<href="ingredients.asp?id=' & [autoid] & '">' & [RecipeName] &
> '</a>' as ingredientslink, ...
>
> This will create hyperlinks such as
> <a href="ingredients.asp?id=5">Marie's Joy Juice</a>
>
> When the wizard ends, right-click the <<ingredientslink>> component in the
> database results region and select Column Value Contains HTML.
>
> Then, create the ingredients.asp page, which wil use another DRW, except
> that this time on page 3 of the wizard you establish the id form field as a
> criteria.
>
> Jim Buyens
> Microsoft MVP
> http://www.interlacken.com
> Author of:
> *-----------------------------Â*-----------------------
> |\----------------------------Â*-----------------------
> || Microsoft Windows SharePoint Services Inside Out
> || Microsoft Office FrontPage 2003 Inside Out
> ||----------------------------Â*-----------------------
> || Web Database Development Step by Step .NET Edition
> || Microsoft FrontPage Version 2002 Inside Out
> || Faster Smarter Beginning Programming
> || (All from Microsoft Press)
> |/----------------------------Â*-----------------------
> *-----------------------------Â*-----------------------
>
> "neenmarie" wrote:
>
> > I have an access database that is a recipe list. It uses a Master Form with
> > an Auto Number for an ID and a Subform that connects to the master by the
> > AutoID. The Master has The autoID, Submitter Name, Recipe Name, Type of
> > Recipe and Instructions.
> >
> > The Sub form is a list of the ingredients and is connected by the AutoID so
> > each record automatically has the Master's AutoID filled in a field..
> >
> > Can I do this the same way on a website...can I have a form within a form
> > that is linked and will automatically fill-in the master's autoID to keep all
> > the ingredients with the master recipe?
> >
> > If so, How do I get started?

 
Reply With Quote
 
=?Utf-8?B?SmltIEJ1eWVucw==?=
Guest
Posts: n/a
 
      23rd May 2005
No, what I describes is just for viewing.

You can try the Databse Interface Wizard for inputting, but it's quirky and
most designers want more specialized control over input. So, for
insert/update/delete applications, they write their own ASP.NET or ASP pages.

Jim Buyens
Microsoft MVP
http://www.interlacken.com
Author of:
*-----------------------------Â*-----------------------
|\----------------------------Â*-----------------------
|| Microsoft Windows SharePoint Services Inside Out
|| Microsoft Office FrontPage 2003 Inside Out
||----------------------------Â*-----------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/----------------------------Â*-----------------------
*-----------------------------Â*-----------------------


"neenmarie" wrote:

> Thx for your quick response. I'll try this. Will this allow data entry into
> the database and fill in the master id to the ingredients table? Or is this
> for viewing the results only?
>
> "Jim Buyens" wrote:
>
> > If you're using the FrontPage Database Results Wizard, you would typically
> > create a Recipe page with one line for each recipe. On page 2 of the wizard,
> > you would define a custom query that produced a calculated field such as:
> >
> > SELECT ..., '<href="ingredients.asp?id=' & [autoid] & '">' & [RecipeName] &
> > '</a>' as ingredientslink, ...
> >
> > This will create hyperlinks such as
> > <a href="ingredients.asp?id=5">Marie's Joy Juice</a>
> >
> > When the wizard ends, right-click the <<ingredientslink>> component in the
> > database results region and select Column Value Contains HTML.
> >
> > Then, create the ingredients.asp page, which wil use another DRW, except
> > that this time on page 3 of the wizard you establish the id form field as a
> > criteria.
> >
> > Jim Buyens
> > Microsoft MVP
> > http://www.interlacken.com
> > Author of:
> > *-----------------------------Â*-----------------------
> > |\----------------------------Â*-----------------------
> > || Microsoft Windows SharePoint Services Inside Out
> > || Microsoft Office FrontPage 2003 Inside Out
> > ||----------------------------Â*-----------------------
> > || Web Database Development Step by Step .NET Edition
> > || Microsoft FrontPage Version 2002 Inside Out
> > || Faster Smarter Beginning Programming
> > || (All from Microsoft Press)
> > |/----------------------------Â*-----------------------
> > *-----------------------------Â*-----------------------
> >
> > "neenmarie" wrote:
> >
> > > I have an access database that is a recipe list. It uses a Master Form with
> > > an Auto Number for an ID and a Subform that connects to the master by the
> > > AutoID. The Master has The autoID, Submitter Name, Recipe Name, Type of
> > > Recipe and Instructions.
> > >
> > > The Sub form is a list of the ingredients and is connected by the AutoID so
> > > each record automatically has the Master's AutoID filled in a field..
> > >
> > > Can I do this the same way on a website...can I have a form within a form
> > > that is linked and will automatically fill-in the master's autoID to keep all
> > > the ingredients with the master recipe?
> > >
> > > If so, How do I get started?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access web site from Access database form SteveB Microsoft VB .NET 5 28th Jul 2009 06:40 PM
Create Form For Access Database Gordon Padwick Microsoft Word Document Management 2 8th May 2006 09:58 AM
Access Database Form =?Utf-8?B?U3VzYW4gUg==?= Microsoft Access 5 3rd Jun 2005 09:43 PM
How do I run another access database on the form? =?Utf-8?B?U2Vpa3lv?= Microsoft Access Form Coding 1 7th Mar 2005 08:34 AM
Access Database form Ranaya Microsoft Access Database Table Design 1 19th Nov 2003 11:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:19 PM.