?
Solved

Dynamic form record source??

Posted on 2002-07-22
5
Medium Priority
?
214 Views
Last Modified: 2006-11-17
Okay, here's what I've got. I'm working on a project where I have about 18 different types of tables. I need these to stay empty because they are my templates.  I have a form that has an associated button for each type of table, and when you click it it prompts you to enter a new table name. This occurs through a simple macro. And after they specify the new table name I want it to open up a data entry form that I have built, specific to each type of table, but I need it to be associated with the brand new table that was just created.

Now, I'm almost posative that I'm gonna have to dump the whole simple macro Idea, and use some Event procedures (I'd really prefer to try and keep it on this level, because I'm a completely ignorant as far as VB goes)

How can I go about making it open up my Data entry form with it's record source being for the table that was just created?

please help me

thanks in advance

0
Comment
Question by:Reighn21
[X]
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
  • 3
  • 2
5 Comments
 
LVL 54

Accepted Solution

by:
nico5038 earned 1200 total points
ID: 7170125
Did you consider to use a tab control with all 18 tables?
Thus the table combo can be dropped.

Just use your sample tables to fill the data and on the save button you activate an append or maketable query for each of them to store the data in a new table and issue a delete * from tblX to empty it again.

Idea ?

Nic;o)
0
 

Author Comment

by:Reighn21
ID: 7170159
hey, sounds like a great Idea, how would one begin to do that?
0
 
LVL 54

Expert Comment

by:nico5038
ID: 7170166
I guess you already have the subforms ready, then just place a tab control on a "main" form and add as many pages as necessary.
On each page add the subform for the table.

Just drop a line when stuck.

Nic;o)
0
 

Author Comment

by:Reighn21
ID: 7170286
well, I didn;t really do it your exact way, but you did get me to think about doing it another way, points to you
0
 
LVL 54

Expert Comment

by:nico5038
ID: 7170307
I like it when people are that flexible with their design, just drop a comment when you need more idea's ;-)

Nic;o)
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

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