473,473 Members | 1,604 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Query with forms

dear respected sirs,

i am in trouble as never expereince to run forms with queries based
calculations

here i am in insurance company they wanted this solutions:

1. tblRates (ID, Values1= 1000,values2=10000,Values3=100000)
2. tblInsurance ( ID, Premium, SumInsured)
3. tblCalcuations ("results")
4. tblCustomers (DAVID, MICROSOFT)
all above calculated values to save for future or past references, as
insurace rates changes always

now what i wanted sir, soon the user put the sum insured and premium,
and click next button or save button, then a query must run behalf of
NextButton, and calculate(behalf of query or sql query), and pick the
value from
tblrates.values1 * 0.25 = results
tblrates.values2 * 0.30 = results
tblrates.values3 * 0.50 = results

so results must saved in tblCalculations...

hope u got me as i could nt understand concepts of syntaxing of ms
access...above is the whole idea abt...

i do nt wanted to put on IT shoulders...as user can modify the
insurance rates day to day works, but he can modify rate and issue new
rates policies...

it will also look up in tables customers...if customer is microsoft
different calcualtions and if others then different...

now i wanted worked on forms and queries...

can any help me out here how to do syntaxing..any references or ideas
will be thankfull to u always

yours obediently

shahzad
Nov 12 '05 #1
4 2914
ms******@yahoo.ca (MUHAMAMD SALIM SHAHZAD) wrote in message news:<5a**************************@posting.google. com>...

How did you ever get a job like this when you don't even know basic
relational database concepts?
Take your lazy butt to a library or a bookstore and study up!
Stop asking somebody else to do your work unless you're willing to pay
them for it!!
Nov 12 '05 #2
I got the job based on that you do not hve knolwsdge that is why the
silly reply u did on this group

well i knew abt relation ship, my question you could not pick up

and i am sad to know abt u people...if u knew the answer give else no
need to click reply in stupid manners

bye
Nov 12 '05 #3
see mr. that i can get the job or not

INSERT INTO tblSave ( Code, Policy, [POLICY TYPE], Treatyr, Amtsr,
TotalPrem, PremStr, MitsuiSI, Mitsui, TP, TMFAC, TMFACPREM, QS, QSRET,
QSRETPREM, QSWF, QSWFPREM, QSWFCOM, QSTMPREM, QSTMCOM, PRIOCESS,
PCESSPREM, PCCOM, premSTRmitsui, comSTRmitsui, siSTRtm, premSTRtmfac,
comSTRtmfac )
SELECT [MARINE CUSTOMER].CODE, MARINE2001.POLICY, qryResults.[POLICY
TYPE], qryResults.TREATYR, qryResults.AMTSR, qryResults.TOTALPREM,
qryResults.premSTR, qryResults.MITSUISI, qryResults.MITSUI,
qryResults.TP, qryResults.TMFAC, qryResults.TMFACPREM, qryResults.QS,
qryResults.QSRET, qryResults.QSRETPREM, qryResults.QSWF,
qryResults.QSWFPREM, qryResults.QSWFCOM, qryResults.QSTMPREM,
qryResults.QSTMCOM, qryResults.PRIOCESS, qryResults.PCESSPREM,
qryResults.PCCOM, qryResults.premSTRmitsui, qryResults.comSTRmitsui,
qryResults.siSTRtm, qryResults.premSTRtmfac, qryResults.comSTRtmfac

FROM qryResults, [MARINE CUSTOMER], MARINE2001

WHERE

((([MARINE CUSTOMER].CODE)=[qryResults].[code])

AND

((MARINE2001.POLICY)=[qryResults].[Policy]));
Nov 12 '05 #4
Shahzad,

If I were you, I would seriously consider splurging and buying a few
good books on Access. Try the Sybex book by Alan Simpson (I think he
wrote the last one). I can't tell you how many times having a basic
book has saved my bacon. Much easier and quicker to
read/learn/experiment than just do things kind of at random. If your
time is worth ANYTHING to either yourself or your employer, it'll be
money well spent. Most serious developers in this NG own at least one
serious book on Access. ("For Dummies" books don't count!). If you
want a list, ask. Or look at amazon and read the reviews and sample
chapters. It's your money - buy something that works for you.
Nov 12 '05 #5

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

Similar topics

1
by: Nicolae Fieraru | last post by:
Hi All, I want to find if there is a different way than the way I am working now. Lets say I have a table, tblCustomers containing address details. I want a report with all the customers from...
1
by: longtim | last post by:
I have been having endless difficulty creating reports/queries that set any relevent parameters from controls in forms. I am creating an application under access 2003 but will target access...
3
by: dskillingstad | last post by:
I'd appreciate any help I can get. I'm not sure what I'm doing wrong, but.... I've searched these groups for some solutions but no luck. I have an unbound form (frmSearch), with several unbound...
13
by: Lee | last post by:
Hello All, First of all I would like to say thank you for all of the help I have received here. I have been teaching myself Access for about 4 years now and I've always been able to find a...
4
by: Drum2001 | last post by:
SELECT ra_report.CCENTER, FROM ra_report WHERE (((ra_report.CCENTER) Like "*" & !! & "*" Or (ra_report.CCENTER) Like "*" & !! & "*" Or (ra_report.CCENTER) Like "*" & !! & "*" Or...
36
by: Liam.M | last post by:
hey guys, I have one last problem to fix, and then my database is essentially done...I would therefore very much appreciate any assistance anyone would be able to provide me with. Currently I...
5
ChaseCox
by: ChaseCox | last post by:
I am using a form to populate a query. The query is looking at around 1.4 Million records to date, every week this will only increase. Currently when I run my query from the form via a command...
9
by: Kelii | last post by:
I've been trying to get this piece to work for a few hours, but have given up. I hope someone out there can help, I think the issue is relatively straightforward, but being a novice, I'm stumped....
3
by: mtrcct | last post by:
Hi, I am working with a form that is unbound and has text boxes the user can type in wildcard search critera which feeds a query. If I leave all the text boxes blank all query recoors are returned,...
5
by: DeanL | last post by:
Hi all, I'm trying to set up a query that runs from a command button on a form (simple enough so far), what I want the query to do is take values from the fields on the form (seven fields in...
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
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,...
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...
1
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...
1
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.