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

user alert message

Hph
I need to alert my users upon attempt to enter a hiring request (on a
form) to not hire due to grade level of candidate. Candidate grade
level is in a separate table from those that the form is designed from.
If I add the table to the forms query I run in run time errors. Here
was my statement: In the field "Site" upon update If Me.grade = 5
Then Msgbox "GRADED LEVEL 5 - DNH"

The request from my users was "Can you disable use of this form (adding
a work assignment to candidates record in a table called [To Be Hired]
via the forms query [To Be Hired query] when the candidate is graded as
a level 5? in the tblSpecialties. The form itself is a subform to a
mainform called [Hire Request]. [Hire Request] form shows their name
and personal information from a table called [Operations]. All of the
pertinent information is then merged into an MSWord document to send a
hire letter and produce other forms. Any advice on how to accomplish
this?

Nov 15 '06 #1
1 1582
so 'grade' is not a field on your form, it comes from another table ?
try, if (dlookup("grade","othertable","where clause") = 5 then

Hph wrote:
I need to alert my users upon attempt to enter a hiring request (on a
form) to not hire due to grade level of candidate. Candidate grade
level is in a separate table from those that the form is designed from.
If I add the table to the forms query I run in run time errors. Here
was my statement: In the field "Site" upon update If Me.grade = 5
Then Msgbox "GRADED LEVEL 5 - DNH"

The request from my users was "Can you disable use of this form (adding
a work assignment to candidates record in a table called [To Be Hired]
via the forms query [To Be Hired query] when the candidate is graded as
a level 5? in the tblSpecialties. The form itself is a subform to a
mainform called [Hire Request]. [Hire Request] form shows their name
and personal information from a table called [Operations]. All of the
pertinent information is then merged into an MSWord document to send a
hire letter and produce other forms. Any advice on how to accomplish
this?
Nov 16 '06 #2

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

Similar topics

9
by: CW | last post by:
I wrote an HTML based chat application. The front end is built entirely on HTML + javascript. Essentially, I have a hidden frame that's refreshed frequently and any new messages are displayed in...
3
by: Marcos MOS | last post by:
Hi all, I would like show a message to user when the function's result return "false"... like this .... if (! my_function(params)) showMessage("my string message"); so, How Can I do it?...
0
by: Zi | last post by:
I have a user control within a data grid. I am binding the user control to one of the values from the data grid. The data grid implements paging. It is all working ok for the first page but once i...
11
by: trinitypete | last post by:
Hi all, I have a user control that uses control literal to build a heading with a link, and a div containing links below. As the link heading is hit, I want to change the style of the div,...
3
by: Pradeep Kumar C | last post by:
Hi , I am working on a ASP.Net Web Application which need some requirement as given below. Let's say two user's A and B. When a User A Assign a task to B , Then B need to get some sort of...
2
by: o0JoeCool0o | last post by:
I am trying to create a User Control, that will be a message box with input options if I call okconf.visible = true in the page load of the user control it works fine, but if i then try to call...
1
by: kang jia | last post by:
hi when user entered particulars in signuppage and click" signup" button, i will direct them to do_signup.php. if say the NRIC is dupicate in datebase, i will redirect them back to signup page...
1
by: gabrielk43 | last post by:
My question is this: I use Flex Builder 2 and actionscript 2. Suppose that I have created a simple alert window like that: var alertWindow:Alert = Alert.Show(message);. What if I want to close...
1
by: Sudarhan | last post by:
Hello frnds I have created a webbased form using asp and javascript .. while submitting the form i am validating the fields in the form .it validates the field and returns alert message. but when...
23
by: Marge | last post by:
This may be in the wrong forum, but here goes. How can I display an alert in the users browser window from an asp page. For example, a welcome message. I know I can do this with response.write,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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...
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
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...

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.