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...
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...
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?
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.