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/