I have the following piece of code that needs the last month added manually each month when it is run.
I'm sure there must be a way to do this automatically ?
Insert into Migration
Select h.PersonNo,
'May99' = '',
'Jun99' = '',
'Jul99' = '',
'Aug99' = '',
'Sep99' = ''...
I have the following scenario :
<table>
<tr>
<td> Picture here </td>
<td> writing here </td>
</tr>
</table>
The pictue is leaving a tiny space to the left, I was looking for a way to get it to leave no spaces (Padding 0; Margin 0; in body tags isnt working)
Going through the FAQ's I...
I am using padding 0; in my style sheet for body but I have a picture in the top right corner that is going all the way to the top but is leaving a 2-3 mm gap on the left no matter what I do.
Is there a way to force the left padding to be 0 ?
(I even put a leftmargin=0 tag in the body tag...
Anyone aware of the javascript you would use to make a redirect page?
ie : Redirect the user to a different page and maybe have one of this messages
"You will be redirected to XXX in 5 seconds, or else click on this link"
Obviously this is just an html file , and I guess you would include the...
Is it possible to include aggregates in an update statement?
I want to do the following that is not being allowed :
Update dbo.TmpMaster30_1
set t.FirstProm = min(h.Prom)
from dbo.TmpMaster30_1 t,
dbo.FACT_OF_PROM_ARCHIVE h,
where t.PersonNo = h.PersonNo
Is it possible to include aggregates in an update statement?
I want to do the following that is not being allowed :
Update dbo.TmpMaster30_1
set t.FirstProm = min(h.Prom)
from dbo.TmpMaster30_1 t,
dbo.FACT_OF_PROM_ARCHIVE h,
where t.PersonNo = h.PersonNo
I'm very new to photoshop as you will tell from my questions, I was wondering if someone could let me know the steps to achieving the following 3 things :
1. Placing one picture ontop of another
2. Cutting a picture out (ie : cutting part of a pic away from its background).
3. Changing the...
I changed it to "sel" and I'm still getting nothing. i cant understand why it works with just the select box,but not when i add the text box's. am i refrensing them correctly ?
ie :
document.getElementById("Dear").innerHTML= document.form.Dear.value
No I'm not, you are probably looking at the address text box, sorry I typed that wrong I dont have an ID, just a name. The only ID's i have are the three divs - "select", "address" & "dear", where I want the information to be printed.
I get my user to choose a value from a drop down and then when Iprint the form, the value, not the select box appears.
To do this I use :
<span class="noPrint"><select style="width:150px;" name="Company">
//// My select box is here
</select></span><div id="select"></div>
<script>...
I have a sql query that gets generated froman asp page, depending on what a user selects.
There could be any amount of :
- UserID 's
- Vehicles_Trips.VID 's
and the trip_diff and Mil_diff will be "<" or ">" a certain amount.
When I create the list of UserID's or VID's I use "or", and the...
I want to write an if statement to say if a certain value is over 0 then i need to check if two other values exist, and if they do not i need to prompt the user.
It sounds easy but I'm quite new to this :-)
somewhere along the lines of :
function checkForm(form) {
if (form.Min.value > 0)...
thanx alot that gets the right answer most of the time (if the difference between the two times is small, but if i use say 0900 and 1550 then its incorrect. I will try play with it and sort it out. thanx.
Its not quite working, but I will carry on trying.
The times will always be on the same day, and hopefully in 24hr clock (although i need to cover the possibility that the user will not enter 24hr).
The logic of the method i was thinking is correct (it works in asp) but the left() and right()...
I want to calculate the difference between two given times. The times will be given in the format hhmm (eg : 1030).
What would be the best way if I had a start and end time to calculate the difference between the two (answer in minutes)?
I thought of something like this but its not right ...
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.