Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: zishan876
  • Content: Threads
  • Order by date
  1. zishan876

    View Uploaded File??

    Hi I have completed the upload file part of my website... Now I want to let users view the file they uploaded... So I created a table and Wanted to view the file through img src tag.. but it is not working... In the database, I add the file path but in my directory it is added as a jpeg?? Here...
  2. zishan876

    Upload File?

    Hi all: I am trying to: 1. Let the user place in there info 2. upload there picture 3. Take them to the page to see list of schools.. Now here is my code so far but what I do not know how to do is: 1. upload the picture storing it in my sphotos folder? 2. letting the use view a list with...
  3. zishan876

    SubString Help

    Hi All Happy Holidays... I do not know what is wrong with my statement below: var rLength= recordIds.length; var rString = recordIds; var startingPos = rString.lastIndexOf("recordIds"); var idName = rString.substring(startingPos+6,rLength); var myNewString = idName.replace(/,/gi,"','")...
  4. zishan876

    DateTime Function?? PLEASE HELP

    Hi all, Happy Holidays... Ok I have a datetime field in my query which comes out like so: 2008-12-10T16:39:00.000Z The actual datetime looks like so: 12/10/2008 10:39 AM How do I change it or format it correctly to update a field in my other table... I am querying off Table1 to get the info...
  5. zishan876

    randon number

    Hi all: how do i associate a picture with a user when they upload? the pic uploads fine but do not know how it goes back to the user? please help if ((($_FILES["file"]["type"] == "image/gif") || ($_FILES["file"]["type"] == "image/jpeg") || ($_FILES["file"]["type"] == "image/pjpeg")) &&...
  6. zishan876

    Query Issue??

    Hi I have the following: SELECT account, name, paidAmount,Id,lob,creditStatus FROM adsBostonGlobeAdvert a WHERE NOT EXISTS (SELECT * FROM Master m WHERE a.account = m.account AND desk NOT IN ('PUR', 'WJMPURGE') AND current0 <> 0) I am trying to say give me accounts that are in A...
  7. zishan876

    Counter... Please help For Loop???

    Hi I am doing a counter, which if the for loop reaches 100 records to add into my array and then update the records in the database... But if there are more then 100 records then to clear our the list and do the for loop again to make sure everything is updated... I have no idea what am I doing...
  8. zishan876

    does anyone know trig?

    hi all: I have the following statement: select SF_Name,latitude,longitude, Math.acos(Math.SIN(Math.PI()* 40.7383040 /180 )*Math.SIN( Math.PI()*latitude/180 ) )+(Math.cos(Math.PI()* 40.7383040 /180)*Math.COS( Math.PI()*latitude/180) *Math.COS(Math.PI()*longitude/180-Math.PI()* -73.99319 /180)...
  9. zishan876

    IF then in Store Proc

    Hi I have the following: ALTER procedure latlong_export @SF_GUID char(18) ,@SF_NAME char(28) ,@SF_STREET char(28) ,@SF_CITY char(21) ,@SF_STATE char(2) ,@SF_ZIP char(10) ,@SF_RECORD_TYPE varchar(18) as IF @SF_GUID = SF_GUID insert into SF_Locations (SF_GUID ,SF_NAME ,SF_STREET ,SF_CITY...
  10. zishan876

    how to retrieve data from XML File

    hi: I have the following scenario: Basically through my VB6 app, connection is made to my SQL Server to get addresses. then URL is open and the url address is placed in which is actually an XML Web base file. How do I get the data and bring it back to SQL Server for update to that record? I...
  11. zishan876

    Need Guidance... Update recordset from Textbox.value

    Hi all: I am new to ASP.NET (VB side ) But I have javascript code plus SQL Database connection and need to update the recordset with the value it populates into 2 textboxes. Now I have no idea how to do that .... Can someone help.. Below is the structure to my code on my ASP page <%@ Page...
  12. zishan876

    unable to cast object of type 'System.Int32' to type 'System.String'??

    Hi all: I keep getting this error: "unable to cast object of type 'System.Int32' to type 'System.String'" What does it mean, this is my code SqlConnection conn = new SqlConnection("Server=xxxx;Database=xxx;User ID=xxx;Password=xxxxxx"); //Create A Command (the query...
  13. zishan876

    VB.NET WIndows Application Form Question

    Hi: I am a newbie to VB.NET 2008... So I wrote code that would connect to my sql server database and bring back results... Great... Now I have a index.html page that is on my localhost written in javascript. I have a list of addresses that I need to hit the index.html page and from there...
  14. zishan876

    Parsing out Address???

    Hi: I wanted to know if anyone has an example of parsing out the address of a user to Street, City, State, Zip... Right now it looks like this in one field... 7 Grant St, city, NY 11507-1820 Any help appreciated it... The field is called Name... Thanks Shan
  15. zishan876

    Request in Javascript

    hi all: I have a url with a variable: (page1.html) var ul= "/servlet/servlet.Integration?lid=01N500000004xKp&ic=1&posid=" + recordIds; window.open(ul,"message_box","width=200,height=200,resizable=no,scrollbars=no" ) That works fine to pop it open but ... The recordIds is the var... it is...
  16. zishan876

    Print Window

    Hi all: I have code that would loop through a recordset depending on how many id's are selected. I would like to pop open a window and print recordset out. / DECLARE CONSTANTS var POS_ID="{!Case.Id}"; var POP_MSG=""; function getApps() { // This function retrieves the User selected records...
  17. zishan876

    IF then statement plus wildcard???

    Hi: I have the following: if (cas.Difference__c == "-1:0-1:0-10:00:000") // { cas.Difference__c ="0" } Basically cas.Difference__c can be -1:0-1:0-22:00:000 or -1:0-1:0-37:00:000 ... and I want to so that I can do an wildcard like if (cas.Difference__c == "-1:0-1:0-"+'*'") But it is not...
  18. zishan876

    PHP and Editor???

    Hi all: I wanted to know if anyone has done this and to give me hints or send me a website that shows this : I have a couple of contracts on my web server. I would like to make a link and by clicking on that link open it up in an WYSIWYG editor and make the changes and save the file. Also...
  19. zishan876

    Case when else statement???

    hi I have the following: The only thing is it would not update anything beyond SFB_COMP=1 ... is there something I am doing wrong here??? UPDATE sfdcprcbok_history_insert SET Pricebook2Id = CASE WHEN (SFB_COMP=1 AND SFB_PRCSTR=1 AND Name='Retail 1')...
  20. zishan876

    Display just selected value in listbox???

    Hi: I have the following code which I inherited from a project I got assigned... I am trying to learn PHP along with this... So I have a listbox here that I just want to display the selected value and not the entire list... And this is read only so that the user can not change it or do...

Part and Inventory Search

Back
Top