The blue dots are compiled lines i.e. breakpointable.
Try a Close and Reopen delphi and Build - sounds like something is not happy
in Delphi

Check the order of opening tables open the lookup before the
Source/Destination table
If that doesn't work you could look at forcing a DataChange for the Combo.

HTH


Regards
Paul McKenzie
Analyst Programmer
SMSS Ltd.
----- Original Message -----
From: "Mike Osborne" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Thursday, September 26, 2002 11:56 AM
Subject: [DUG]: There's probably a simple explanation, but ...


> I have some code (D6) in which I'm trying to set some default values on
> Append so the user only has to enter or change the not so usual stuff. I
> store the entries from a previous append/post as properties on the form to
> be the defaults for the next add.
>
> I do an Append (to an IBOTable) and then the following
>
> MyTable.FieldbyName('Field1').asstring := frmmain.default1;
> MyTable.FieldbyName('Field2').asstring := frmmain.default2;
> MyTable.FieldbyName('Field3').asstring := frmmain.default3;
>
> Two questions:
> 1. In D6, there is a blue dot in the left column only by the second line
ie.
> I can put a break on that but not the others. Why is this?
> WHat would cause that - they all look the same to me?
> 2. In my data-aware controls including DB lookup combos, the default
values
> are not there - just blanks. (When I do an edit on existing record all is
> fine.) Any clues as to why?
>
> TIA
> Mike
>
> --------------------------------------------------------------------------
-
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to