473,407 Members | 2,629 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Trying to make a form not sure how to do it

I will attempt to describe this, hopefully it will make sense. Say
there is an input text box for a web site's name, and a checkbox for
say whether or not they have a search function. Also, there is a
textbox that allows you to enter something like a description of the
site like "Books" or "Video games" or anything you want.

This so far is easy enough, but what if I want to click a button like
"Add entry" so that I can enter another web site's name and check
whether it has a search function. The only thing that stays the same
is the description of the site.

So, if I have "Books" entered, and "amazon.com" checked for a search
function, then I click on "Add entry", then I can type in
"barnesandnoble.com" and check the search checkbox.

The only thing I could think of is to make the form's text boxes and
checkboxes invisible, and then when I click add entry, they would
become visible. This would be a lot of work if I needed say 15 entries
for "Books" and then 2 entries for something else like "Video games."

Nov 13 '05 #1
2 1187
FeelGoodInc wrote:
I will attempt to describe this, hopefully it will make sense. Say
there is an input text box for a web site's name, and a checkbox for
say whether or not they have a search function. Also, there is a
textbox that allows you to enter something like a description of the
site like "Books" or "Video games" or anything you want.

This so far is easy enough, but what if I want to click a button like
"Add entry" so that I can enter another web site's name and check
whether it has a search function. The only thing that stays the same
is the description of the site.

So, if I have "Books" entered, and "amazon.com" checked for a search
function, then I click on "Add entry", then I can type in
"barnesandnoble.com" and check the search checkbox.

The only thing I could think of is to make the form's text boxes and
checkboxes invisible, and then when I click add entry, they would
become visible. This would be a lot of work if I needed say 15 entries
for "Books" and then 2 entries for something else like "Video games."

Dim strType As String
strType = Me.TypeOfEntry
Docmd.GotoRecord acDataForm,"YourFormName",acNewRec
Me.TypeOfEntry = strType

Nov 13 '05 #2
This is the same thing I was going to tell you. This will work like a
charm. :-D

Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Weston C | last post by:
I'm trying to write a generic/reusable form validator in Javascript... just something that checks to make sure required fields have a value. By generic I mean I don't want to explicitly reference...
3
by: Ben Hallert | last post by:
Hi there, I haven't done a lot of Javascript programming, so I'm not having great luck debugging something I put together, and I was hoping someone here could give it a quick lookover and maybe...
2
by: Crimsonwingz | last post by:
Trying again for understanding and comprehension. Simple database. Name, birthday, age. Name and birthday are provided. From a form (yes, I need to do it this way), I would like to click a...
6
by: Frank Wilson | last post by:
Tom, It sounds to me like ASP, not ASP.NET is handling the request for WebForm1.aspx. This is most likely an IIS config issue that may have been caused by order of installation or...
3
by: Regnab | last post by:
I'm not sure if this is some random bug in the system, but I keep getting the #Name? error on one of my forms when I try to link one field to another. For example, I have one field called...
14
by: GabrielESandoval | last post by:
I need to make a registration page for a community service volleyball tournament our organization is doing. I am VERY NEW to ASP. Would the easiest way to make it be just doing it on frontpage...
5
by: kkddrpg | last post by:
the database looks like this the database is called username_tpp (not really just using username as a sub) the table is called home it has field 1 : varchar(50) | latin1_swedish_ci | no...
6
by: AppleBag | last post by:
I'm having the worst time trying to login to myspace through code. Can someone tell me how to do this? Please try it yourself before replying, only because I have asked this a couple of times in...
8
by: Remington | last post by:
I am using windows 2000pro with access 2000. I am trying to make a database for our HR department, that would allow our HR Director to type in an employee's ID number into a form and then select...
1
by: Jstyle | last post by:
Ok I know how to make the X ask before the form closes in VB.NET. However, I am trying to make a control where a button asks 'are you sure you want to close' before it closes the form. This is what...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.