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 Chriss Miller 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: delphiman
  • Content: Threads
  • Order by date
  1. delphiman

    How does one use the watch list?

    Something I have never been able to get my head around ever since Delphi 1 was released (I am now using Delphi 6 Enterprise) is how to use a "Watch". Sometimes I need to know When (say) MyTableMyField.value = (say) 100. When (say) MyTableMyField.value changes bearing in mind that to use the...
  2. delphiman

    Why can't I multiply money with a numeric value as follows.

    I have Math in the Uses clause but the following nevertheless won't work. Can someone please tell me why? tblMStockItem.Value := FloatToCurr(tblMStockSqMtrs.Value * tblMStockCostPMetre.Value);
  3. delphiman

    Why does RoundTo not work for me?

    I have Math in my Uses clause but neither of the following will work for me. I need dm.tblMStockInitSqMtrs.Value to be limited to TWO decimal points. tblMStocksqMtrs.Value := RoundTo(tblMStockHght.Value * tblMStockWdth.Value); OR RoundTo(tblMStocksqMtrs.Value) := (tblMStockHght.Value *...
  4. delphiman

    How can I do two simple calculations?

    Problem A tblThingTotSqMtrs.Value := (tblThingHight.Value * tblThingWidth.Value); This results in a number such as 43.6743 whilst I need it to be 43.67 Problem B tblThingCost.Value := (tblThingTotSqMtrs.Value * tblThingCostPerSqMtr.Value); This won't even compile and results in exception...
  5. delphiman

    What are files _QSQ99.DB & DEL107.MB?

    These files are being created in the folder where my source files are. Upon running my project (from within the environment and whilst it is still loading the files) it has suddenly taken to giving me an exception which refers to _QSQ99.DB or (some similar file) to the effect that I have "not...
  6. delphiman

    How do I specify what I want in ShowMessage?

    I need to have (something like) the following which is obviously wrong. What should the code be? ShowMessage ('Account' + dmStdAcc.qryGLGLNo.value + 'already exists. Delete it.'); Anyone?
  7. delphiman

    How does one change default language of Browser.

    I am an accountant and have a new client (of Chinese origin) and his Browser displays chinese characters in the Tool bars. (i.e. Instead of the usual "File", "Edit", "View" etc. he has Chinese characters.) He has no idea how it got like that and does not want it like that either. I have been...
  8. delphiman

    How can I set my Modem to switch off when dormant?

    I use W2K Professional and know that SOMEWHERE I have set my modem to disconnect when dormant for in excess of 5 minutes. A. It doesn't work and sometimes the modem stays connected when I have forgotten about it. B. I can't find WHERE I set it to disconnect after 5 minutes. :-) (It goes...
  9. delphiman

    Word 2003: What has happened to my st as in 1st?

    Until I started fiddeling with the settings for Word 2003 the st following a day-date (such as 1st) would automatically change to a tiny font and in line with the TOP of the sentence. This no longer happens. What have I done to upset this? Anyone?
  10. delphiman

    Word 2003 - How does one get rid of unwanted horizontal lines.

    Unwanted and unpredicatble horizontal lines (as in underlining) appear from nowhere and without the "U" underline function being used. The "Help" on the subject (as usual) is quite UN-helpful. I have disabled Spelling and Grammer checks, as that seemed to be related and appeared to have an...
  11. delphiman

    What does "Variable 'Self' inaccessible here due to optimization" mean

    My application has worked successfully - including a particular procedure. Suddenly that procedure no longer works and when I try and examine values within the procedure during Runtime I get exception "tblMyTableMyField.value = Variable 'Self' inaccessible here due to optimization". I don't...
  12. delphiman

    How can one control Font during Runtime?

    I need to control the font of contents of a particular field in a unique situation during RunTime. I expect I need something like ... if tblMyTablePNo.value = 2 then begin fldOurInit.FontSize := 22; fldOurInit.FontStyle := BoldItalic; fldOurInit.FontColor := Red; end; ...
  13. delphiman

    What would cause Delphi 6 Enterprise to hang in this case ?

    I have been working on a project for some time during which I have often Run the project from the Environment in order to test it. Suddenly the close button EventHandler in the program, which amounts to simply the following, won't close down the program and D6E simply refuses to respond. So...
  14. delphiman

    How does one engage/disengage pop-ups?

    In order to download a recent update from McAfee I am warned that I "may have to disengage pop-ups" in order to do so. Obviously I need to as I can't download the update. But I haven't a clue as to exactly WHAT a "pop-up" is and how to "disengage" it or anything else. (No wander the English...
  15. delphiman

    W2K professional won't switch off.

    Some months (years?) ago this was an issue with W2K professional. There was a lot on this website about it and it appeared that updates from MS eventually killed the problem. Beause when I later completely re-installed W2K and applied all the most recent (then) cumulative updates the problem...
  16. delphiman

    Can't believe nobody has answer to this silly problem.

    I need to call a procedure declared in the public area of a first form - from a second form. But am not having any luck. My thread102-914655 refers. Anybody? Thanks in advance.
  17. delphiman

    How does one call a Procedure on another form?

    A procedure (say) Procedure ABC on (say) TFormMyFormOne can be called from anywhere on that form with simply ABC; anywhere on the form. How can can I call that Procedure from (say) TFormMyFormTwo? Thanks in advance.
  18. delphiman

    So close! Need help with TUpDate please.

    I have the identical tabel structure in different folders as follows C:\h\StdAcc\GL \\ The default folder or I won't get the dmStdAcc.qryGL Active Property set to True C:\h\StdAcc\1\GL C:\h\StdAcc\2\GL C:\h\StdAcc\3\GL I am able to access the individual folders as follows var...
  19. delphiman

    How can one control SQLText in UpdateTQuery during Runtime?

    Thanks to whosrdaddy thread102-893361 I am able access duplicate tables from different folders as per the following code. begin qryname1 := '''C:\h\StdAcc\6\GL'' t1, ''C:\h\StdAcc\UsrTfr'' t2'; qryname2 := 't1.PNo = t2.PNo'; qryname3 := 't1.GLNo'; with dmStdAcc.qryGL do begin...
  20. delphiman

    How can one select different Folders in a SQL Editor during Runtime?

    I have the following which works fine. with qryMyQuery do begin SQL.Clear; SQL.Add('SELECT *'); SQL.Add ('FROM ''C:\h\MyQuery'''); (Where MyQuery is a permanent Folder.) Active := True; end; I need to be able to vary 'MyQuery'during Runtime and am trying to acheive...

Part and Inventory Search

Back
Top