Brady ----
Create a custom EditBox class. Create a new property called NumberCRLF. Default it to 0. In the Init event of the class, use OCCURS() to populate the NumberCRLF value. In the Keypress event, use OCCURS() again in conjunction with trapping keycode=13. If NumberCRLF > desired, NODEFAULT.
Use this new class on the forms desired.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05