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).
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: 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 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

816 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

8 Experts available now in Live!

Get 1:1 Help Now