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

  1. ColinTod

    Problems with TMemoryStream.CopyFrom

    I would be happy to use TStringStream or ordinary strings if they retained the formatting. PlainText property is False. I am trying to do the same process now by loading the file into Temp_RE, Searching and selecting in there and copying the selected area to Description_RE. Still Struggling with...
  2. ColinTod

    Problems with TMemoryStream.CopyFrom

    OK, Basic mistake. Forgot to set FoundStr.Position := 0; before loading it into the RE. New Problem though:- No formatting copies over. There is text and tables in the selection area and all the formatting is lost. Is there a way around this?
  3. ColinTod

    Problems with TMemoryStream.CopyFrom

    Should have pointed out that there is no error. Simply nothing shows up in the RichEdit box
  4. ColinTod

    Problems with TMemoryStream.CopyFrom

    Hi, I have a small problem copying part of a MemoryStream (Stream) into another MemoryStream (FoundStr). I have a long RTF document that I load into a memory stream and then search for different sections based of a bunch of changing requirements. I then want to load the new MemoryStream into the...
  5. ColinTod

    Accessing dynamic forms

    OK, I obviously need to start learning abot Classes. That seems to work except for on minor problem: The Procedure DoSomething only avare does something on the first tab (0) regardless of the fact that it is run from: procedure TForm1.Button2Click(Sender: TObject); var i : integer; FM2...
  6. ColinTod

    Accessing dynamic forms

    Oops, Sorry, Got that wrong. The line: Form2.lOutput.Caption := IntToStr(PageControl1.ActivePageIndex); Does give an error (Access violation at address....) because: // Application.CreateForm(TForm2, Form2); is hashed out
  7. ColinTod

    Accessing dynamic forms

    Hi, I have a multiple Dynamic Form2's attached to Form1 Pagecontrol tabsheets. I want to do things on the Form2s based on a button click from Form1. Any sugestions? ============================== Form1 has: Button1 Button2 PageControl1 procedure TForm1.Button1Click(Sender...
  8. ColinTod

    Accessing OnChange in Dynamic Component

    Hi, Thanks all for that. This worked perfectly and was a great lesson. This is a fantastic group with helpfull people. I have put up 2-3 posts before and always received helpfull advice. Colin
  9. ColinTod

    Accessing OnChange in Dynamic Component

    Thanks guys. This is great responce. I will try these suggestions this evening and see how they go.
  10. ColinTod

    Accessing OnChange in Dynamic Component

    Hi, I have been spending the last few weeks working on a bit of software and have now run into a stumbling block that I can't seem to get past. I was wandering if you might be able to help. I have a form that has a PageControl on it. I dynamicly create tabsheets using this: procedure...
  11. ColinTod

    Unchecking Checkboxes

    Hi again, I think I should expand on the situation for more clearity. The modification I am making is to deal with a bar code scanner. They want to give each student a barcode so that when they come into class they can scan the code and find the student quickly. A barcode will look something...
  12. ColinTod

    Unchecking Checkboxes

    Hi, Thanks for that but I already tried using onclick and although it fixed the problem described above something even worse happens. When the user uses the arrow key's to go from one name on the list to the next the software runs the attended procedure automaticly. I can't work out why. Thats...
  13. ColinTod

    Unchecking Checkboxes

    Hi All, I have a wierd problem that I can't work out. I am putting together a program to handle attendances and payment details for a martial arts club. I have a form (Martial) that has the following: - A DB_Grid (DBG_Name) that populates with a list of names from an interbase DB. - A...
  14. ColinTod

    SQL Query Problem

    Thanks. Small rewrite required but that did it.
  15. ColinTod

    SQL Query Problem

    Thanks for that. I can see that it is a more elegant way to write the original Query and I will change my other Queries to that format. Can anyone answer the original question though? Colin
  16. ColinTod

    SQL Query Problem

    Hi all, I am having a problem with a report I am trying to produce. I am quite new at SQL so I am sure that the answer is basic. I have a DB I have designed for my local Martial arts club to handle student attendances. 3 of the tables are: TABLE PERSON PERSON_ID FIRST_NAME LAST_NAME...
  17. ColinTod

    Passing Parameters to SQL

    sDate is ftUNKNOWN. The help say's: "DataType is set automatically when a value is assigned to the parameter. Do not set DataType for bound fields, as that may cause the assigned value to be misinterpreted." I think the problem is somewhere different. I rechecked the origional (everything...
  18. ColinTod

    Passing Parameters to SQL

    qrClass is the name of the TIBQuery. RvClass is the Rave component. Colin
  19. ColinTod

    Passing Parameters to SQL

    Hi, This is my first post. I have only just started using SQL in Delphi and am obviously doing something wrong. I have created a membership database and wish to create some RAVE reports for it. I have a TIBQuery with the following SQL statement in it: -------------------- select * from PERSON...

Part and Inventory Search

Back
Top