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
  • 5
  • 4
LVL 84
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 84
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).

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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)


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 84

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

863 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

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now