How do I convert a form with subforms to an ASP so that I can publish it on the Web?

Posted on 2008-10-09
Last Modified: 2013-11-28
I have a MSAccess 2003 form that I created and would like to publish as a web page so that users can enter their information and it will update my database.  The problem I'm having is when I create the ASP, it only processes my main form, not the subforms that are associated with it.  How do I include the subforms, without breaking the relationships?  I also noticed that the ASP displays the previously entered data, how can I restrict this to the current user's information only?
Question by:Accessive
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
LVL 85
ID: 22685702
How are you "creating" the ASP?

Subforms are a technology specific to Access. Generally you'd need to use a grid control of some sort to mimic this type of architecture.

You're asking two questions in one ... that's against EE guidelines. Please post your second question regarding the current user information in a separate question.

You might also include this question in the ASP zone, as the Experts there are MUCH more familiar with ASP coding than would be most of us here in the Access TA. You can ask a moderator to include new zones by posting a question in Community Support, with your request and a link back to this question.

Author Comment

ID: 22685913
Sorry LSM, my bad...I'm new to this, you'll have to bare with me...I meant Data Access Page,not ASP and I will post the 2nd question once I figure this one out.  Thanks for the advise.
LVL 85
ID: 22685948
DAP is a dead technology - matter of fact it was never fully implemented (at least that's what I gather from various newsgroup postings over the years).

It's been removed in 2007, and even MS advises that you move to a web-based language (like ASP.NET, for example) if you need to do this. As I mention earlier, typically a parent/child relationship is represented through either a grid control (if you need to interact with it) or through use of a an HTML Table (if you just need to view it).
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 22686001
I'm not sure what you mean by Grid Control, I would like users to input data to update my Dbase

Author Comment

ID: 22739543
Sorry, I decided to go with a pdf interactive form, then update a spreadsheet automatically from information submitted on each form.
LVL 85

Accepted Solution

Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 500 total points
ID: 22740543
"Decided to go another route" is entirely your decision but has no bearing on the original question:

How do I convert a form with subforms to an ASP

This was answered correctly by me:

As I mention earlier, typically a parent/child relationship is represented through either a grid control (if you need to interact with it) or through use of a an HTML Table (if you just need to view it).

In other words, while you may have decided to go another route the question you asked was answered and deserves to be awarded points.

Author Closing Comment

ID: 31504805
While your comment may have answered the question, I didn't understand what you meant and asked for clarification.  I'm a novice at this and don't expect step by step instructions, so without knowing the depth of explanation I would require, I decided to go with an alternative solution that I could figure out on my own.
LVL 85
ID: 22740899
Sorry that I missed your followup comments, I answer a lot of questions and sometimes things get dropped off my radar.

I'm sorry you didn't understand, but your question - How do I convert convert a form with subforms to ASP - was correctly answered by me, and doesn't deserve a C grade ... a B would be appropriate, but not a C ... please check the grading topic in Help for more clarification. You can ask the mods to reopen this question and regrade by posting a comment in community support.

Author Comment

ID: 22741153
I did check the grading topic help before grading.  I believe it IS appropriate as explained in the help.  Sorry.

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question