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 TouchToneTommy 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: cyberbob2
  • Content: Threads
  • Order by date
  1. cyberbob2

    ASP String parsing problem

    Hello, I am sending a value from an input form to a database/e-mail processing page which works fine, but I need to parse the value: TEST,TEST2 What I need to do is before the value even submits, parse out the text before the first comma, along with the comma itself, so I am left with: TEST2...
  2. cyberbob2

    Excel 2000 - Dynamically creating data driven columns

    Hello, I am using MS Query to pull external data conditionally which is working fine. I have a field where the user enters an order number, and associated fields for that order number (row) from the Orders table (SQL Server 2000) populate the cells as I have them mapped. Now I am trying to...
  3. cyberbob2

    Excel MS Query question

    Hello, I have an Excel sheet using the MS Query tool (QBE grid) for pulling data from a SQL Server db into the sheet, works great. My question is, do the intended users ALSO need to have MS Query or can this sheet be distributed as a normal Excel sheet. Thanks in advance, CB
  4. cyberbob2

    Populating other controls on Excel sheet based on combo box value

    Hello, sorry if I didn't explain it very well before. Actaully, what I'm trying to do is populate other fields on the form based on the value from a combo box which displays the id number, but the other fields are from different fields in the table. I'm populating the order_ids into the combo...
  5. cyberbob2

    Populating cells on Excel sheet based on selection from combo box?

    Hello, below I am populating a combo box using ADO/SQL Server connection. Could someone show me an example of how to populate other cells on the Excel sheet based on the value selected from the combo box? My code module: Public Sub PopulateControl() Dim cnRetailData As ADODB.Connection...
  6. cyberbob2

    Populating Excel 2000 cells with SQL Server 2000 data

    Hello, I have an Excel 2000 sheet I am able to bring data into and map to certain fields via the Query Wizard, no problem. But, it seems that I could do this through VBA automation and/or macro which might be better. Could someone show me an example of how to do this with VBA automation? My...
  7. cyberbob2

    Repost: javax.servlet.ServletException: Define tag cannot set a null

    Hello, I'm running a java-based web app on JBoss. In IE on a PC, these are not a problem: <%@ taglib uri="struts-logic" prefix="logic" %> <%@ taglib uri="struts-bean" prefix="bean" %> <%@ taglib uri="struts-html" prefix="html" %> In Mozilla/Firefox, Safari and IE on a MAC, I get this JSP...
  8. cyberbob2

    javax.servlet.ServletException: Define tag cannot set a null value

    Hello, I'm running a java-based web app on JBoss. In IE on a PC, these are not a problem: <%@ taglib uri="struts-logic" prefix="logic" %> <%@ taglib uri="struts-bean" prefix="bean" %> <%@ taglib uri="struts-html" prefix="html" %> In Mozilla/Firefox, Safari and IE on a MAC, I get this JSP...
  9. cyberbob2

    How to remove the first leading zero in a string

    Hello, I have a function which removes ALL leading zeros, but is there a way to remove only the FIRST leading zero? Any help would be greatly appreciated. Below is my function to remove ALL leading zeros. Thanks in advance, KP Public Function RemoveLeadingZeros( _ ByVal strValue) As...
  10. cyberbob2

    Form validation using text (data) file

    Hello, I have a finite list of values that I need to use to validate what users enter as a valid number. I would like to simply put these numbers into a flat file (txt or csv) and be able to use a javascript to use this file to compare the value that the user entered with a match in the file...
  11. cyberbob2

    QBE function for filling 11 digits

    Hello, I have been trying to come up with a IIF function to do the following in a QBE grid: If a number is 10 digits or less, then add leading zeros to fill up 11 spaces. Examples: 1234567899 = 01234567899 02356 = 00000002356 If a number is 11, 12 or 13 digits, leave it alone...
  12. cyberbob2

    Making a CDONTS e-mail link open in a new window

    How can I make the following link which I am creating on my asp page open in a new window? strBody = strBody & vbCrLf & vbCrLf & "http://test/test/Test_Admin/loginEdit.asp?key=" & key I've tried surrounding this with <a href> tags, using a jscript 'open' function, I thought this would be a...
  13. cyberbob2

    [ODBC Microsoft Access Driver] Disk or network error - HELP!!!

    I've been researching this for three days now. For the past 2+ years I've had local ASP apps working fine with Access databases I use to test with. All of a sudden, I start getting this error: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Microsoft Access Driver]...
  14. cyberbob2

    Add 6,000 records to table with existing records

    Hello, When I try to insert records from table 1 into table 2, I get the following error: DTSTransformCopy: Schema validation filed; see Extended Error information. TransformCopy 'DirectCopyXForm'validation error: Cannot convert (possibly due to type or length mismatch) column pair 7 (cource...
  15. cyberbob2

    How to parse everything to the left of &quot;_&quot;

    Hi all, I have a string, "1234_testfile.doc". Can someone please show me how to parse out everything to the left of the "_"? This number will grow so this would be the best solution. Thanks in advance, KP
  16. cyberbob2

    Send Mail based on Form Value - Only Once!

    Hello, I've been racking my brains over this one. I have a Classic ASP edit form with many fields, one of them a Status drop-down. If the Status (option value) has been changed to "Pending" for instance, I do a objMail.send, otherwise it doesn't send. No problem, but how can I prevent the mail...
  17. cyberbob2

    radio button alert based on state of checkbox

    Hello, I am trying to throw an alert from the onClick event of a radio button based on the &quot;checked&quot; state of a checkbox. I am testing with several dynamically created checkboxes, which start out empty but the user then clicks. If they don't click one, they should not be able to delete...
  18. cyberbob2

    Creating folders and subfolders on the fly

    I am able to create folders and subfolders with ASP with this: <% set objFSO = CreateObject(&quot;Scripting.FileSystemObject&quot;) ' name your folder dim basefolder basefolder = &quot;testing&quot; sub createfolders() ' create root folder objFSO.CreateFolder (&quot;c:\Inetpub\wwwroot\&quot; &...

Part and Inventory Search

Back
Top