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: *

  1. megabyte214

    Resizing datagrid column width to 0 to hide column

    obislavu, If I eliminate that column, will I still have access to the data in that column? I'll give it a try, thanks!
  2. megabyte214

    Resizing datagrid column width to 0 to hide column

    Anne, I actually did try that, but it didn't compile. I did find a way to set the column widths of the grid and I then set the column that I wanted to hide to 0, but it seems to me there has to be an easier way. I had to create a TableStyle and then ColumnStyles for each column. Then I...
  3. megabyte214

    Resizing datagrid column width to 0 to hide column

    I have read that the easiest way to hide a datagrid column is to set its width to 0. I am working on a Windows App and have tried several ideas that I have found, but none seem to work. Any help is greatly appreciated. //error: "Index was out of range. Must be non-negative and less than...
  4. megabyte214

    Select Query within Insert

    Try something like this: strSQL = "Select MAX(CustomerID) from Customers"; objcommand = new System.Data.OleDb.OleDbCommand(strSQL); objcommand.Connection = this.oleDbConnection1; objcommand.Connection.Open(); int result = 0; try { objAdapter = new System.Data.OleDb.OleDbDataAdapter()...
  5. megabyte214

    Using a Regular Expression to validate a Date field

    Thanks everyone for your ideas. I did figure out what was wrong with my RegExp constructor, the backslashes in the regex variable have to be escaped in order for it to work. I put in the extra backslashes and it worked fine.
  6. megabyte214

    Using a Regular Expression to validate a Date field

    I am trying to validate a form field which needs to be a date in a specific format. I am new to javascript and I need a little help with the javascript synax. The regular expression does work, that I tested. I think it is a problem with how I am using the RegExp constructor. Thanks in...
  7. megabyte214

    Access 2003 and Word 2003 mail merge problem

    I have some Access queries that I am using with Word Mail Merge. All the queries work great with mail merge except for the ones where there is a “*”. When I change the “*” to a “%” the mail merge then works, but then the query will not run in Access. For example: This does not work with...
  8. megabyte214

    Public Calendar reminders

    I am running Windows XP and using Outlook 2003. I was wondering if there was a way to post a calendar in the "ALL PUBLIC FOLDERS" and have it send reminders for upcoming appointments to my other co-workers. Is this even possible? If it is, I would also like to know how to tell this public...
  9. megabyte214

    PL/SQL and javascrpt

    Does anyone know if there is a way to embed a pl/sql variable in javascript? Thanks!
  10. megabyte214

    maintaining data on form

    I have a form and within the form there are links that pop-up another window to display information. When the pop-up is closed, all the previous information in the form is erased because the page reloads. I am wondering how to do this so that the page does not refresh when the pop-up is...
  11. megabyte214

    maintaining data on form

    I have a form and within the form there are links that pop-up another window to display information. When the pop-up is closed, all the previous information in the form is erased because the page reloads. I am wondering how to do this so that the page does not refresh when the pop-up is...
  12. megabyte214

    replacing characters in PL/SQL

    I am trying to use the replace function to replace a single quote " ' " with a backwards single quote " ` ". tempT := replace(SRCSTR => tempT,OLDSUB => ''',NEWSUB => '`'); This code produces a compile error: Error: PLS-00103: Encountered the symbol "`" when expecting one of the following...
  13. megabyte214

    sql question

    Below is a query and it is not displaying the count for authors who do not have any books. I understand why, but I do not know how to fix it. I need it to return 0 for authors with no books. select lastname, count(ba.isbn) from author as a, bookauthor as ba, book as b where b.isbn = ba.isbn...
  14. megabyte214

    parsing a file

    Thanks, that works!
  15. megabyte214

    parsing a file

    I am using StringTokenizer to parse a text file. The file contains items with different attributes, delimitated by commas. An example line is: 0001,"Abbot, Baker, and Miller”,4444,"fiction",,06182000 I have 2 questions. First, using StringTokenizer, is there a way to differentiate between a...
  16. megabyte214

    frames

    Hello, I'm trying to get a reference to an applet from a frame. here is the frameset: <frameset id=&quot;MainFrame&quot; rows=&quot;120,*,12&quot; border=&quot;0&quot; framespacing=&quot;0&quot; frameBorder=&quot;0&quot;> <frame id=&quot;Header&quot; name=&quot;Header&quot...
  17. megabyte214

    searching for specific files in directory

    Thanks! This code works on the UNIX command line, but I get a &quot;Internal Error or Misconfiguration&quot; error when I try and run it on the web. My permissions are set on this file at 755. Any suggestions would be great. Thanks in advance. #!/usr/local/bin/perl -w use CGI; use strict...
  18. megabyte214

    searching for specific files in directory

    I figured it out. use File::Find; find(\&wanted, 'blosxom'); sub wanted{ #print substr($_, -3).&quot;\n&quot; ; if (substr($_,-3 )eq &quot;txt&quot;){ -f $_ && print &quot;$File::Find::name\n&quot;; #print substr($_,length -4).&quot;\n&quot;; }#END if } I want to add these files to a...
  19. megabyte214

    searching for specific files in directory

    Is there a way to get all the files in a directory with an extension of .txt? I used opendir to get all the directories and I want to do something like this to get all the files with extension .txt. Thanks in advance.
  20. megabyte214

    permission problem

    I have a simple html form that when the user hits &quot;Submit&quot; goes to a cgi file. The cgi file makes a new text document and write the info from the form. When I run it from the command line it works fine, when I run it from the web I get an error that there is a configuration problem...

Part and Inventory Search

Back
Top