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 Mike Lewis 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: bknox
  • Order by date
  1. bknox

    DBI Query

    Everyone: Thanks for your help on the problems that I have been facing. I have solved the problem posted in this request. Evidently, all of my scripts have been accesing the DB under my user account on my local machine, except the one that was giving me the problems. I modified the access...
  2. bknox

    DBI Query

    The connecttodsn function assigns the DSN to $db. I use is throughout my scripts (about 8 or so). It has worked up until know, so I don't think this is the problem. Thanks for the observation, Ben
  3. bknox

    DBI Query

    I copied you code into the script and I still got the same error. I have printed out the resulting SQL statment as just a plain text string and it shows the value is getting inserted fine. I have even copied this printed SQL statement and placed it into my Access DB as a Query and it executed...
  4. bknox

    DBI Query

    I tried the code you posted, and I am still getting the same error. It is in the Execute phase that it throws the error. Ben
  5. bknox

    DBI Query

    I am developing a web page that will create purchase orders for me using HTML and Perl. I am using the DBI:ODBC module to interface into an Access DB that holds all the purchase order information. I am running IIS on my local machine to test and debug the code before I place it into...
  6. bknox

    silly print question

    print <<EOF; stuff.......... EOF That should do the trick. Ben
  7. bknox

    ODBC:DBI SQL Query

    Thanks Paul for all your help. I got the script to script error's solved by transforming all my DSN connections to DBI connections instead of Win32::ODBC. All the data is coming from a form that is submitted. The form is simply two text fields that need to be added to a DB table. Ben
  8. bknox

    ODBC:DBI SQL Query

    I have minor question regarding perl and ODBC. I have multiple scripts that access, query, and modify an Access DB. I am using DBI:ODBC to accomplish this. Everything is working perfectly, except that I have found a minor quirk in PERL, and was wondering if anyone had any insight into the...
  9. bknox

    One Last DBI Question

    I have managed to get Perl to move from script to script without throwing the 1032 ODBC Error (Only for so long though) I have been able to move to 5 scripts without once getting this error, however on the 6th script it gives me the same error. I have tried moving the DB somewhere else...
  10. bknox

    ODBC Error

    I don't understand please clairfy. Guninees Over IP?
  11. bknox

    ODBC Error

    It is not in production yet, so it is not working in testing stages. I have set up a DSN through XP under the admistrator tools within the control panel. It is a System DSN with a Access driver being used, and named po. I have the latest version of active perl installed, and are running the...
  12. bknox

    ODBC Error

    correction: shipInfo.pl: #!c:\Perl\bin\perl.exe -w use Win32::ODBC; use CGI ':standard'; use CGI::Carp qw(fatalsToBrowser); require 'functions.lib'; print "content-type: text/html \n\n"; $db; connecttodsn($db); print "In Script"; $db->close();
  13. bknox

    ODBC Error

    Here you go Paul: Script1: #!c:\Perl\bin\perl.exe -w use Win32::ODBC; use CGI ':standard'; use CGI::Carp qw(fatalsToBrowser); require 'functions.lib'; print "content-type: text/html \n\n"; $db; connecttodsn($db)...
  14. bknox

    ODBC Error

    $_[0] indicates the first value passed to the subroutine. I call it with connecttodsn($db) so $_[0] is a reference to $db. I am not sure what you mean by check the po on the machine. It is working, b/c I can use it in one script just not in another. I get the same error message even if I...
  15. bknox

    ODBC Error

    No Sir. I just have the Web program running in IE.
  16. bknox

    Perl DBI Connection

    I can establish two connections with my script as well, it is just when I call another script from my script. I.E. I have a perl script that access a DB to fill in drop down lists on a web page. All the HTML is outputed by Perl. When I click the submit button I move to another script, it is...
  17. bknox

    ODBC Error

    I have created a System DSN for the file I wish to open. However, whenever I move to another script to handle other processing tasks, it gives me the following error: couldn't open Purchase Order DB: po because -1032[Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine...
  18. bknox

    where perl finds libraries

    They should be in the lib subdirector under the Perl folder. The Perl folder was installed to where you told the installation program to install it to (by default it should be under c:/perl/lib. Have fun....
  19. bknox

    Perl DBI Connection

    I have created a System DSN for the file I wish to open. However, whenever I move to another script to handle other processing tasks, it gives me the following error: couldn't open Purchase Order DB: po because -1032[Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine...
  20. bknox

    Perl DBI Connection

    I am using Win32::ODBC to connect to a database located on the C: drive of my computer. I have set up a file dsn through the administrator tools->ODBC tool in the control panel to point to the database with the microsoft access driver. Everytime I use the code $DSN = "po.dsn"; #Connect to...

Part and Inventory Search

Back
Top