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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by kingosticks

  1. kingosticks

    Getting the ID of the last inserted record

    ahhh thank you very much. please forgive my stupidity, i havnt done any sql in ages and never before in delphi. thanks again.
  2. kingosticks

    Getting the ID of the last inserted record

    i have the table TblRound( RoundID : Autonumber RoundNo : integer MatchID : string } i need to get the RoundID when i insert a new record and assign it to the integer variable RoundID, i have been using the following (after inserting a new row) with no success: QryMatch.SQL.clear...
  3. kingosticks

    Creating multiple instances of a custom class

    I just changed Users[index].PMFrame:=TMsgFrame.Create(self); to Users[index].PMFrame:=TMsgFrame.Create(Users[index].PMWin); So.. the PMWin now owns the PMFrame and that stops the error. I think its time I had a read about owners and parents, I never really noticed the difference! Thanks very...
  4. kingosticks

    Creating multiple instances of a custom class

    Thanks for your quick reply, Iv'e not used the evaluate/modify window before so it is quite possible I'm doing it wrong but I get ([csInheritable]) as the PMFrame owner. Does that actualy mean anything?
  5. kingosticks

    Creating multiple instances of a custom class

    Hello, have been looking for a decent delphi forum for my problem, hopefuly my search is over. I have the type TMsgFrame : class(Tframe) with a bunch of procedures, components etc contained within it. i also have the following record on my main form: TPost = record PMWin : TTabSheet...

Part and Inventory Search

Back
Top