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 SkipVought 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: LCD
  • Order by date
  1. LCD

    SQL Update or Add Record with VB

    sorry - should mention that the UniqueID is numbers and letters. I have no control over this since I do not create the source CSV.
  2. LCD

    SQL Update or Add Record with VB

    I need to write something that will check to see if a records UniqueID allready exsists and update that record or add it as a new record. The source table is a CSV that is generated daily with a complete list of records. And they need to be updated in the SQL DB. What I'm looking for is a...
  3. LCD

    sort by memo field supported in 9 or 10?

    I wasn't have trouble with the expression, just thought I'd thank the guy for pointing out CAST since I've never used it before. Thank you for your help too.
  4. LCD

    sort by memo field supported in 9 or 10?

    ---Quote if you use the cast function (CAST(Your.Field to VARCHAR(249))) on your memo field to a varchar ---/Quote I ended up modifying the view I was using and added CAST(My.Field AS VarChar(30)) AS NewFieldName to it. Thanks for the idea, this SQL n00b wasn't familiar w/ CAST.
  5. LCD

    sort by memo field supported in 9 or 10?

    I've considered doing that as a last option, but I believe it's the only way to solve the problem now. Just working with another companies data and didn't want to change anything in the DB. But it looks to be the only option, so it will be done. Thank you.
  6. LCD

    sort by memo field supported in 9 or 10?

    thank you. Guess I'm just going to have to get 10 and see what happens.
  7. LCD

    sort by memo field supported in 9 or 10?

    I've gathered from searching the forum that this isn't doable in 8.5 (what I currently have) since the field I'm working with is 1024 chars. Can anyone tell me if this is an available option in 9 or 10? Thanks, Andrew
  8. LCD

    Order By Help - need to order a different way?

    here is a example of my problem. Select ID, FileName From Table Order By FileName Returns ID | FileName 1 | A0-01-Layout1 (2002.10.30.1.21.33.235).TIF 2 | A1-03-Layout1 (2002.10.30.1.21.38.131).TIF 3 | A1-2-Layout1 (2002.10.30.1.21.34.197).TIF 7 | A3-1-Layout1 (2002.10.30.1.21.42.127).TIF...
  9. LCD

    IIS 5.0 Host Headers

    thank you
  10. LCD

    IIS 5.0 Host Headers

    I just want to make sure I'm doing this correct, or if there is a better method for doing this. I'm hosting a website on a 2000 server. I'm using host headers to get different pages to load when different prefixes (right termonology?) are used. www.mydomain.com (HH = www.mydomain.com &...
  11. LCD

    ASP Pages lock up on IIS 5.0

    I should also mention the same server is running SQL 2000, and some of the ASP pages do interact with it. But when the server stops displaying ASP, all pages will not load, even ones w/ just a hello world in them.
  12. LCD

    ASP Pages lock up on IIS 5.0

    I'm running IIS 5.0 hosting about a dozen low trafic websites. Half of those use ASP. On occasion ASP pages will fail to load, but HTML pages will still load fine. Trying to stop the WWW service doesn't work. And I can't seem to find anything in Event Viewer pointing to whats causing this. I...
  13. LCD

    Format

    'I ended up using Function leadDigit(val) If val < 10 Then val = &quot;0&quot; & val End If leadDigit = val End Function strDOB = Year(now) & leadDigit(month(now)) & leadDigit(day(now)) & _ leadDigit(hour(now)) & leadDigit(minute(now)) &...
  14. LCD

    Format

    I'm trying to format the Date/Time so it shows mmddhhmmss with each taking up to 2 chars. (so it'd look like 0708065822 instead of 7865822) strDOB = month(date()) & day(date()) & hour(now()) & minute(now()) & second(now()) is what I'm currently using. Any suggestions? All I can think of is a...
  15. LCD

    Convert PNG to JPG

    Download ACDSee from www.download.com it'll let you batch convert file formats. http://download.com.com/3000-2204-10156360.html
  16. LCD

    DLL winSpool OpenPrinter - Access Is denied

    I found the solution to my problem. I Had &quot;Intergrated Windows Authentication&quot; enabled in IIS. That unfortunatly wasn't passing the proper user info along to the DLL & Spooler. Once I disabled It and enabled &quot;Basic Authentication&quot; it began to work. Thanks, Andrew (LCD)
  17. LCD

    Request.serverVariables(&quot;LOGON_USER&quot;)=&quot;&quot;

    In IIS I know you need to disable &quot;Anonymous&quot; access for the web page and enable &quot;Authenticated Access&quot;. But if it works sometimes, then you probably allready did this. What is the error message you recieve? Try this instead of your function...
  18. LCD

    DLL winSpool OpenPrinter - Access Is denied

    The printer is a network shared printer.
  19. LCD

    DLL winSpool OpenPrinter - Access Is denied

    Don't know exactly what Forum to post this in, hope this is on topic. I made a ActiveX.dll to Send raw data to a spooler. (Using source code available in this pdf: http://www.devx.com/premier/mgznarch/vbpj/1998/02feb98/ap0298.pdf) Then created a ASP page that calls the DLL. Tested this from the...

Part and Inventory Search

Back
Top