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).
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.


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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

777 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