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 Wanet Telecoms Ltd 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. Maladon

    QueryTool?

    If this is too complicated... well anyway I've done the Access method and it is NOT complicated. Your machine must have an alias to point to the Oracle DB. That's a given so it can't be complicated. In MSAccess97 ( comes with Office professional) create a blank database. This is not complicated...
  2. Maladon

    Adding to list box while typing...

    I built a class to compare the strings cause that way I could code once and call often. Then I checked the result(s) and acted on the input. Mine are bool but you could easily either overload them to return a value of 1, 2, 3, 4 allowing a switch/case block etc. The nice thing here is that I...
  3. Maladon

    Adding to list box while typing...

    I built a class to compare the strings cause that way I could code once and call often. Then I checked the result(s) and acted on the input. Mine are bool but you could easily either overload them to return a value of 1, 2, 3, 4 allowing a switch/case block etc. The nice thing here is that I...
  4. Maladon

    Explicit operators

    Not equal to != AND & OR | also AND if(( yaba )&&( dabado )) OR if(( yaba)||( dabado ))
  5. Maladon

    Copy, Paste, etc...

    Umm, I might have missed something early n the conversation but cut copy and paste dont need any help from the clipboard to work (unless your trying to copy a lot of these edits at once?) The only time I've ever had to code anything for these functions has been if I was using a DBGrid ( I think...
  6. Maladon

    Type WORD problem

    How do you get the char value of &Key when it's type WORD? I need to catch some control keys ( which works fine ) but I also need to know if the key was a character, punctuation, or number. This also works OK as long as the key pad is not used, however, type WORD gives the wrong answer with...
  7. Maladon

    How can I use windows short cuts for Cut, Copy, and Paste with TDBGrid?

    ...WORKS WITH GRID! //--------------------------------------------------------------------------- void __fastcall TMainForm::Cut1Click(TObject *Sender) { if(((dynamic_cast<TDBGrid *>(ActiveControl)) &&(dynamic_cast<TDBGrid *>(ActiveControl)->EditorMode))...
  8. Maladon

    Cut, Copy, and Paste in a DBGrid

    ...WORKS WITH GRID! //--------------------------------------------------------------------------- void __fastcall TMainForm::Cut1Click(TObject *Sender) { if(((dynamic_cast<TDBGrid *>(ActiveControl)) &&(dynamic_cast<TDBGrid *>(ActiveControl)->EditorMode))...
  9. Maladon

    Emulate a CTRL+Key Combination

    I have found that if I set my MainMenu->EditMenu->Cut1->Shortcut property to CTRL+X it will actually disable the windows default behavior when I attempt to use the menu item. Instead the menu item calls the OnClick event. This would be OK if I could use ClipBoard to copy and paste but I can't...
  10. Maladon

    Intermitent Cut and Paste in DBGrid

    I opened a new application, added a DB, Table, Source, and Grid. Assigned each so it was connecting to the Database I wanted ( Access97 ) Ran the app as it was. The only &quot;Code&quot; I wrote was to Connect to the DB and make the Table active. Cut and paste of partial or whole strings from...
  11. Maladon

    Cut, Copy, and Paste in a DBGrid

    Yup, that helped. Thanks for the help. I can now cut, copy, and paste the contents of a cell through the clipboard. Unfortunately SelText is not a member of TField. For some reason Fields don't have all of the properties of an Edit box even though you need to do all the same things with both...
  12. Maladon

    Turbo C++ 3.0

    Look in the editor options, there should be a property you can set. There was in 1.0.
  13. Maladon

    String -&gt; int Conversion ?

    Take your pick. :-> Number = StrToInt(Temp); Number = StrToInt64(Temp); Number = StrToFloat(Temp); etc.
  14. Maladon

    Cut, Copy, and Paste in a DBGrid

    Does anyone know how to implement Cut, Copy, and Paste inside a DBGrid? <CTRL><X>,<CTRL><C>,and <CTRL><V> do not work. If anyone can post a code sample demonstrating this I'd be greatful. There is no built in call for this I can find so I assume it's a windows call thing. Unfortunately I have no...
  15. Maladon

    Bool in SQL &amp; setup of Update Query

    ...:Paid, :Closed_Date Then I want to SET Closed_Date = Date() IF Paid = true. The UPDATE SQL will not generate any code unless there is a select * Table in the TQuery SQL. If I add that I get a good SQL statment from UPDATE but it will not run. ( No params in the TQuery. ) params will not...
  16. Maladon

    Sorting Access Database decsending

    Yah, I know, but it's real fustrating to try and figure out something that the docs tell you about only to find it's crippled or missing. Good code examples are scarce as hen's teeth, and documentation is usually either lacking or assumes you know more than you do. Sorry about my tantrum...
  17. Maladon

    Bool in SQL &amp; setup of Update Query

    ...:Paid, :Closed_Date Then I want to SET Closed_Date = Date() IF Paid = true. The UPDATE SQL will not generate any code unless there is a select * Table in the TQuery SQL. If I add that I get a good SQL statment from UPDATE but it will not run. ( No params in the TQuery. ) params will not...
  18. Maladon

    Sorting Access Database decsending

    Thanks for pointing me to that site, know I at least know I was doing the code right originally and it was Borland's sweet little habit of holding back just the one thing you have to have to force you to cough up more money. It wouldn't be so bad if the tech people would tell you what is missing...
  19. Maladon

    Record in Grid doesn't match Table

    Yah, it was helpful alright I know know that Borland has ripped me off again. I paid 99.00 for Builder 4.0 only to find it did not include data access. I paid over 200.00 for &quot;Professional&quot; Builder 4.0 so I could get Data access and Install shield. Borland assured me I could do what I...
  20. Maladon

    menu

    Data: Computer, what is DOS? Computer: Dino's Older Sister. Data: Define refrence to Dino? Computer: Unable to comply, defines not allowed in DOS. Data: I see, where would one find DOS? Computer: Late 20th century earth, made extinct by Windows.

Part and Inventory Search

Back
Top