Hey Marsh:
First, I want to thank you for your time and your great advice. I have
followed your instructions and have succeeded in modifying and
preparing (lets call the first form "All info") "All info" for the
receipt of the second form("Defendant info") fields etc. It appears to
me that the designers Dina B. and Bill C. actually built two distinct
forms! One they named "All info" and the other they named "Defendant
info". The second form is not, repeat not, a subform. They then
incorporated a control button into the first tab page of form "All
info" thereby linking, albeit awkwardly, the two forms together. Does
this effect my ability to transfer and really merge the 2 pages that I
want from form 2, "Defendant info" into form 1, "All info". Thanks and
if you need any payment for your time please contact me at the email
address. I also want to say that this is very cool. I finally feel like
I can tweak this thing to match my needs. "Form Follows Function" you
know.
Marshall Barton wrote:
Moving things from one form to another (subform is
irrelevant) is a matter of cutting and pasting the pieces
and then hooking up the event procedures again. First, Us a
copy of the forms so you can quickly undo any mistakes you
make. Then create the two new pages on the main form and
start moving the controls on the subform to the new table
pages (you can select all the controls on a page by dragging
a selection box across all the controls on the page). Then
Copy/Paste the VBA procedures behind the controls to the
main form's modules and Check each control's event
properties to make sure that the events with code have
[Event Procedure] in their corresponding ON... property.
After you've move the desired stuff to the main form, delete
the subform. It's all a little tedious, but once you get
the hang of it, it should go fairly quickly.
--
Marsh
MVP [MS Access]
[email protected] wrote:
Thanks for the advice! I was able to delete the excess tabs(pages)
however my problem with the subform continue. Basically, the designer
incorporated a "button" that he placed on the first page of the form.
He said it was neccesary because there were too many (tabs?)pages to
fit in the first form. By pressing the button, another form (subform)
opens with 4 additional pages. I want to (1) eliminate the button (2)
eliminate 2 of the 4 additional pages in the subform and then have the
2 remaining pages be placed as tabs in the original form and present
when the database first opens. Can I do it? Thanks Rich
Marshall Barton wrote:
[email protected] wrote:
here is the problem: I had someone design a database that upon actual
use I discovered contained too many fields, tabs etc. Unfortunately,
this extra garbage resulted in the need for a sub form on the first tab
page. How can I delete the unneccesary tabs and fields, and move the
sub form up into the tab area where it should have been in the first
place?
First, open the form in design view. Once in design view, a
control can be deleted by clicking on it and hitting the
Delete key, using Ctrl+X (Cut), or using the Edit - Delete
menu item.
A control (subform or whatever) can be moved to a tab
control page by clicking on the control and using Ctrl+X,
then click on the page's tab and use Ctrl+V (Paste).
Other than moving things to (or from) tab pages, controls
can be moved around on the form by just dragging it where
ever you want it or by setting its Left and Top properties
in the control's property sheet.