Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


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
Medium Priority
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).
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.


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 1000 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

609 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