Hi,
I am trying to execute this script...but I am getting an error saying:
startinformsh_fw.ksh: line 38: syntax error: unexpected end of file
I am pasting the script here:
#!/bin/ksh
if [ "$#" != "3" ]
then
echo "Usage: $0 <file_name> <poll_interval_in_sec> <minimum size in bytes>"
exit 1...
I am writing an application which inserts / updates the page. This works fine.
Now I am asked to put the name in data base the nt user id who updates or inserts the page.
That means I will have to grab nt user id. Can any one tell me how to grab this user id?
Thanks, Arra
I do not have separate fields in my table to show they are mixed or red or etc. In that case it would have been little simpler. Here I am trying to hold them into variable using like operator but then the program is becoming very longer and not showing what I want to display.
Any iideas will be...
In my asp page, I have this query:
select name, count(name)as cnt from WineClubSubscriptions where status = 'w' group by name order by name
and this is dispalyed in table as name and quantity.
Wine Club Discovery Mixed Every Other Month...
Thanks longhair for quick reply and appreciate the code.
I need to rename my existing Customers.csv file in shared G drive (from Customers.csv to Customers-2005_12_14.csv).
For this I may need to use fso.MoveFile command.
I have never used this. Can you help me out.
Thanks
I have written a code that copies from my shared drive and copies that file to my local drive.
my existing code is like:
Set objFSO = CreateObject("Scripting.FileSystemObject")
If objFSO.FileExists("C:\Documents and Settings\moparikh\Desktop\test1.csv") Then
objFSO.DeleteFile "C:\Documents...
I have a report which am exporting in csv format. The problem I have is I am getting the column name of page header on each line on CSV file instead of showing as Column heading.
Can any one help me how to fix this?
In my update application, I am passing nme as hidden field which is nothing but recordset of field name.
To make sure that update is not creating duplicate record, I created another recordset2.
<%
Dim Recordset2
Dim Recordset2_numRows
Set Recordset2 = Server.CreateObject("ADODB.Recordset")...
Thanks for the reply.
I have used replace function and works fine.
fName =trim(Request.form("txtDesc"))
fName =replace(fName," ","")
Also used in html
<select name="ext">
<option value=".doc"<% if (request.form("ext")) = ".doc" then %> Selected<% end if %>>document...
I had created application and was working fine.This application has two textboxes. One for file description and other for file name. Now the user is making mistakes in naming the file. He/She is supposed to keep the same name as File description but name will not have any spaces.
Now I have...
My computer ( windows 2000) hangs when I try to open and navigate windows explorer. This does not happen if I navigate by going to my computer.
This happened after I removed some temp files. I am not sure is it becos of that or some other. When I restored all temp files from recycle bin -...
Thanks for all the help.
Finally this code worked:
if (DateDiff("d",st_dte,expr_dte)< 1) then
MM_abortEdit = true
emsg(e) = "start date cannot be greater than expiration date"
e = e + 1
end if
m using this code:
expr_dte1 = FormatDateTime(expr_dte1,0)
'response.write expr_dte1
st_dte1 = FormatDateTime(st_dte1,0)
'response.write st_dte1
if expr_dte1 < st_dte1 then
MM_abortEdit = true
emsg(e) = "start date cannot be greater than expiration date"
e = e + 1
end if %>
I...
how to check start date is greater than end date and display the error message. I am entering date in text box for start date and in anothet text box, end date.
Thanks
I appreciate your answer. I told my DBA to have an autogenerated number but he is reluctant to do that. I can update all fields except code. This code can have more than one record so it cannot be made as primary key. Ideally promotion # or counter # is perfect but he does not want.
Any other...
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.