473,388 Members | 1,499 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,388 software developers and data experts.

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 "Accommodations 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 "Accommodation" 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 2484
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 "Accommodations 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 "Accommodation" 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.accomodationfee = me.combo1.column(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.accomodationfee,0) + nz(me.membershipfee,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
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"...
1
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...
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...
0
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...
0
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 ...
1
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...
3
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...
24
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...
9
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...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...

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.