Hello-
I have an acreage field that has decimals and some with null values. How can i create a search between a value and value without it displaying incorrectly? For example i do a search between .5 acres and 1 acres I dont want 10 acres showing up as well as it does now.
So I have this now...
George-
One more question. should have had this originally but forgot about the merge. I get a Column 'N.CityId' is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause. How can i fix this?
<select name="City"><%
set cityRst =...
So if i wanted to include city in your example not just listing it would look like this?
Select City, ListingID, Count(1) as ListCount from tblListings Group By ListingID Order By City
Hello-
I want to have a drop down that shows the cities in a listing database and the # of listings for that city in parenthesis next to it. So it would show "New York (5,000)" etc...
I have a table called Listings to pull from with a column named city. So how can I do that?
Thanks Guys. My bigger file was checking for 3 different variables not just a value of x. This switched the color for me and stopped on each one as I had a different alert for that. The comment from Dan is good as well.
Thanks!
Here is an example simply for testing purposes.
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function verify() {
var themessage = "You are required to complete the following fields: ";
if (document.form.first.value=="") {
themessage = themessage + " - First Name"...
Hello-
I had posted something like this prior. However the iteration for each field to be highlighted wont work as in the code it only highlights the first field that was required. How can I put each element into a variable and have the form highlight all of the fields that were required at...
My apologies. the return fasle was in the wrong spot:
if (theForm.pr_ny_estimate.value.length < 1)
{
themessage = themessage + " - Payroll Next year estimate";
theForm.pr_ny_estimate.style.backgroundColor = "#ffff00";
}
//alert if fields are empty and cancel form submit
if...
Now if I wanted to keep that value through a series of checks and then send them all at once would that be necessary or just leave it like that? For example rather than cal the alert after each one i would compile the fields that needs attention then call the alert. So
if...
Hello-
What can I add to this to tell the script to highlight the input box in a different color? So it will alert them and change the color of the input box to red if not filled out?
if (theForm.pr_ny_estimate.value.length < 1)
{
alert("Please enter at least 1 characters in the...
Hello-
I have an owners table where they have a list of 3 different companies in 3 columns (cnumber, cnumber2, cnumber3). I want my query to search on all 3 columns to find the match for the company they logged in under. How can I do this? So example would be:
Select * from owners where...
I have 6 fields for company ownership. They are decimal fields since an owner can have a fractional ownership of a company. However all 6 fields need to add up to 100 if they dont i need to alert them with my validate script. I have included some alert script i am using already so you can see...
How can I make this statement work? I can get auto count or Own_auto by themselves to work but when i check for both conditions it wont work. I dont get errors just nothing happens?
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function verify() {
var themessage = "You are required to complete the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.