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 IamaSherpa 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. Fiendy

    Outlook Express 6 & Outlook 97 - Send To Issue

    Hello, I installed an old copy of Outlook 97 on my PC, purely to retreive some old Calendar info I had, & then un-installed it completely again. Unfortunately, this completely trashed my default e-mail settings (OE6). After a lot of playing, I managed to get OE to think it was the default...
  2. Fiendy

    Problem with Doubles/Decimals

    I had a feeling it might be something like that. I'm wondering if it's a bug in MySQL. I tried the same thing in postgres & it worked fine, even with 4 byte doubles. I suppose I'll just have to remember to put quotes around my DECIMALS! Thanks for your reply anyway. Cheers, Mark.
  3. Fiendy

    Problem with Doubles/Decimals

    Hello, Can anyone explain what's going on here? I want a field of 20,10 (IE 10 digits before the decimal, 10 after), & as I need exact precision, I though that a Decimal data type would be best. However, when I create the field & insert a value in it, the last 3 digits of the decimal are...
  4. Fiendy

    Can't call method "blah" without a package or object reference

    I think this:- if(defined($mesg) && $mesg->entry(0)) { should be:- if(defined($mesg)) { if ($mesg->entry(0)) { .... At least, that's how I'd do it, as if $mesg is not defined, then the 2nd condition would cause an error. HTH, Mark.
  5. Fiendy

    popup browser instead of window

    Hi, A few things:- 1) You seem to have two functions of the same name - openWindow() 2) You're calling the open() method on loading of the page which will create a new browser window. 3) The call to openWindow in the link passes a value, yet the function is not written to receive one. (Not that...
  6. Fiendy

    Table Field Names

    Thanks for the reply. I agree with you that it'd be best to remove the #'s etc, but unfortunatly I'm stuck with them as the original DB is used by a "Green Screen" application still, so I can't change it :-( BTW: Your example "ALTER TABLE" statement definately doesn't work...
  7. Fiendy

    Table Field Names

    Hi, Does anyone know how to create a field name with a "#" or "%" character in it? Eg. CREATE TABLE test (`my fld#1` CHAR(1), `my fld%2` CHAR(1)); MySQL complains about this, despite the manual saying that these characters are allowed if enclosed in back-quotes (`). I...
  8. Fiendy

    openModalDialog problem?

    Hi, Glad it helped :-) As for the link, try :- <A HREF=&quot;#&quot; onclick=&quot;setReturnValue()&quot;> instead. I think it is trying to execute the JS code in the parent window when you call it in the HREF, which, of course it can't as it's 'frozen' whilst your Modal window is open. I'd...
  9. Fiendy

    openModalDialog problem?

    Hi, Just add a line of JavaScript in your Modal Window Page: window.returnValue = 'your_return_value'; Fiendy
  10. Fiendy

    mySQL find and replace extension?

    > btw - what about a link with filename &quot;data.htm.htm&quot; LOL I think that's then a job for good ol' Perl then :-)
  11. Fiendy

    mySQL find and replace extension?

    As Piti says, this will work, I've done it myself, although I would use &quot;.htm&quot; & &quot;.pdf&quot; in the REPLACE statement otherwise, it may replace any occurrence of the letters &quot;htm&quot; in your data, not just the extensions. Mark.
  12. Fiendy

    Hi, I am setting up a database f

    Hi, Try : GRANT ALL PRIVILEGES ON datab.* TO user@localhost IDENTIFIED BY 'pass'; Also, if you are connecting from a client to the db,then you also need to do : GRANT ALL PRIVILEGES ON datab.* TO user@'%' IDENTIFIED BY 'pass'; Also, I don't think you need the &quot;connect datab&quot; line...
  13. Fiendy

    Perl with PWS

    Hi, Try here: http://www.activestate.com/ I have installed this before & it was easy, but I never really used it in anger as I work primary on Linux. However, I'm led to believe that you can't just use modules direct from CPAN. This site has a list of all modules available for ActivePerl &...
  14. Fiendy

    dbmopen file extensions

    Hi, I've just moved from Perl 5.005-03 on Redhat 6 to Perl 5.6.0 on Linux Mandrake 8 and I'm now having problems with accessing DB files via dbmopen. Previously, I only needed to specify the filename, but now I have to specify the filename AND extension Eg: To open a DB file called...

Part and Inventory Search

Back
Top