473,748 Members | 2,161 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Trying to make a guest registration form....

Hi all,

I have a need to make a guest registry, and try as I might, I just
can't seem to get the right programming in the expression builder.
Here is what I need to do.

I have one field labeled "Accommodations " which has a drop down
listing of 7 codes. I need to then a) assign a dollar value to each
code, then b) place that dollar amount in the "Accommodat ions Fee"
field. Also one of the codes has 3 subtypes each with a different
dollar amount.
Put the "Membership Type" dollar amount in the "Membership Fee"
field,
"Hot Tub" fee (if any) in the "Hot Tub Fee" field
And lastly put the combined total in the "Total Fees" field.
Here is the exact information.

Field "Accommodat ion" The codes and dollar amounts for this field
are AV = $30, AR=$20, MP=$20, CW=$15, BC=$20, TENT=$10, and last one,
RV has 3 subtypes 1)Full=$20, Elec=$12, Water=$12.

The next one, is the "Membership Type" field and the code and
prices are, BS=$10, SS=$60, RS=$250, SHO=$1000, and GA=$5000,

The last one is "Hot Tub", Y=$5, N=$0.

Then these 3 totals I want to put in the "Total Fees" field.

While I'm sure this is elementary to you folks, for a newbie like
myself, it's daunting. Any help would be greatly appreciated.

Thank You so much.
Sean Du Pont July 31, 2006.

Aug 1 '06 #1
5 2506
On 31 Jul 2006 18:07:32 -0700, "sdupont" <ao***@hotmail. comwrote:

What happens when the Accomodations fee for AV changes? Do you think
the users want to call the programmer to have him change the
expression to change $30 to say $35? I don't think so.
Or what if there is another surcharge or membership type? Or we have a
"Summer Special" with 10% off pricing? Call in the programmer to fix
an expression?

It appears that you currently don't have this kind of flexibility
built into the system. There seems to be no data-driven programming.

Reservation systems are complex. You're probably going to hate this
answer, but I really believe a good one can only be written by an
experienced professional.

-Tom.
>Hi all,

I have a need to make a guest registry, and try as I might, I just
can't seem to get the right programming in the expression builder.
Here is what I need to do.

I have one field labeled "Accommodations " which has a drop down
listing of 7 codes. I need to then a) assign a dollar value to each
code, then b) place that dollar amount in the "Accommodat ions Fee"
field. Also one of the codes has 3 subtypes each with a different
dollar amount.
Put the "Membership Type" dollar amount in the "Membership Fee"
field,
"Hot Tub" fee (if any) in the "Hot Tub Fee" field
And lastly put the combined total in the "Total Fees" field.
Here is the exact information.

Field "Accommodat ion" The codes and dollar amounts for this field
are AV = $30, AR=$20, MP=$20, CW=$15, BC=$20, TENT=$10, and last one,
RV has 3 subtypes 1)Full=$20, Elec=$12, Water=$12.

The next one, is the "Membership Type" field and the code and
prices are, BS=$10, SS=$60, RS=$250, SHO=$1000, and GA=$5000,

The last one is "Hot Tub", Y=$5, N=$0.

Then these 3 totals I want to put in the "Total Fees" field.

While I'm sure this is elementary to you folks, for a newbie like
myself, it's daunting. Any help would be greatly appreciated.

Thank You so much.
Sean Du Pont July 31, 2006.
Aug 1 '06 #2
Excellent point. Yes, data driven programming seems vital. So, how
would one do a data driven base? To assign changing values to codes
that do remain the same and put those values in another field "total
for that field", then take that value to a "totals" field. The "totals
field" would have input from other fields as well. I really cant afford
prof. help. It's not that complex of a reservation system. It is in
totality as I have described. Thanx for the feedback.
Sean

Aug 1 '06 #3

Tom van Stiphout wrote:
Reservation systems are complex. You're probably going to hate this
answer, but I really believe a good one can only be written by an
experienced professional.

-Tom.
I'd have to agree. I tried one once several years ago. A LOT harder
than it looks.

Aug 2 '06 #4
On 1 Aug 2006 10:26:45 -0700, "sdupont" <ao***@hotmail. comwrote:

Data driven programming is a big topic. I'm sure Google will enable
you to find some resources. For me it means that the program is
controlled by records in the database, and I can change its behavior
by changing the data in those (control) tables. The rest of the
program is a more generic engine that just looks at the control tables
to decide what to do.
To make it a bit more specific for your program, you would probably
have an Accomodations table with ID, Code, StandardPrice, and your
dropdown would draw from this table. The data driven part here is that
the price automatically changes once the Administrator changes the
price in some Accom Maintenance form.
You might have a AccomSubTypes table with the 0 or more subtypes for
each Accom. Again those would show based on which Accom was selected.

Happy Programming,

-Tom.

>Excellent point. Yes, data driven programming seems vital. So, how
would one do a data driven base? To assign changing values to codes
that do remain the same and put those values in another field "total
for that field", then take that value to a "totals" field. The "totals
field" would have input from other fields as well. I really cant afford
prof. help. It's not that complex of a reservation system. It is in
totality as I have described. Thanx for the feedback.
Sean
Aug 2 '06 #5
Simplistic approach - this is not the best approach because it will
limit expansion but it will work. A good book on Access and data
normalization would be benificial.

3 tables - Accomodation , membership, Hottub - perhaps call it extras

3 fields each
ID - autonumber
Description
Fee

combo1 for accomodation is based on accomodation table, it shows
description, is bound to the ID which is what is saved but has fee as
the third field. In the after updateevent for that box the code would
be something like

me.accomodation fee = me.combo1.colum n(2) (the count is based
on 0 col1=0)

The other two comboboxes would have the same structure and perform the
same appropriate action.

The source for the total field would be
=nz(me.accomoda tionfee,0) + nz(me.membershi pfee,0) +
nz(me.extras,0)
Ron

Aug 2 '06 #6

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

Similar topics

4
3043
by: karolina | last post by:
Hi, I am making a small registration form about cars in three steps. The first step is to fill in member data. After filled out the member data hit "next" and enter car information. Hit "next" and upload pictures of the cars which is step 3. I have 2 database tables in mysql "member" and "cars". "member" is used in step 1 and "cars" is used in step 2 and step 3. What is proper design of making this work.
1
2680
by: JaNE | last post by:
Hello, I have made my cms... and is working, but have some, let me say "bugs"... And I don't know all reasons, please allow me slightly longer and most probably confusing post (that "confusing" is mainly becaose of my bad english, and that bad english is also reason why am I learning php that slow...). As first, what is problem: some users after succsesfull registration and login can not see "memeber_menu" and can not activly participate...
14
3528
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 (where i just lay out the form and save it as an .ASP file) and then changing the form properties so that the results are sent to the access file? I read that you could make aso forms on frontpage and it just seemed too easy. Do these really work...
0
1623
by: Wayne Smith | last post by:
I've taken the following code from a developers web site which should allow a user to register and receive an email message with a link to activate their account, but when I click the link on my home page to take me to the 'registration.aspx' page, it throws up the following error message and I can't figure out why. ------------------------------------------------------------------------------ Server Error in '/' Application. ...
0
2497
by: RHSFSS | last post by:
Hi, I have a Drag and Drop registration problem (See http://www.thescripts.com/forum/thread434707.html for similar problem post), can anyone out thereadvise on the best solution? I have a .NET 2.0 application (actually in C#) called from a third party piece of software via VBScript. The VB script passes an object as a parameter which my application applies changes to. My C# application dynamically creates a form, which includes controls...
1
3078
by: carl2k2 | last post by:
Ok First I have a very simple way of entering data into a form and saving that into a text file, I made two text files for username(text1) and password(text2), I would like to make a simple login with the outcome out this, Code for Registration: Dim savefile As Long savefile = FreeFile() Open "I:\College Work ------- Updated 2008 March\new-work\savedfile.txt" For Output As #savefile Write #savefile, (Text1.Text); (Text2.Text)
3
6223
by: satishknight | last post by:
Hi, Can some one tell me how to change the validation sequence for the code pasted below, actually what I want it when any one enters the wrong login information (already registered users) then it has to tell then them its wrong information but currently it takes then to a next page and then tells them its incorrect information. This is tedious as every time they enter wrong they will be redirected to a different page and then they have to...
24
3702
by: jerrydigital | last post by:
Hello, I am new to this forum but have read several posts and I thank you for your great assistance. I am stumped right now. I have a user registration form in asp that is set to a form method=registration.asp page. i will post my registration.asp page below. I am hoping this asp page will connect to my access database called registration.mdb with a table called registration. however, everytime i submit my registration information, I...
9
4242
by: happyse27 | last post by:
Hi All, In perl script(item b below) where we check if html registration form are filled in properly without blank with the necessary fields, how to prompt users that the field are incomplete or blank and then go back to main page(item a below user registration html page) always, something like goggle or msn login page function... Thanks and Best Rgds, Andrew a) script called from user registration html...
0
8983
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8822
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9528
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9359
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9310
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9236
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8235
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4592
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2774
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.