Oct 22, 2002 #1 jbpelletier Programmer Joined Sep 8, 2001 Messages 232 Location CA How can i know if a Ttable is in edit mode(delphi5)... i need something like: if MyTable.isedit then begin .......... end; jb
How can i know if a Ttable is in edit mode(delphi5)... i need something like: if MyTable.isedit then begin .......... end; jb
Oct 22, 2002 #2 Svanhooft Programmer Joined Nov 23, 2001 Messages 187 Location NL hi, if Table1.state = dsedit then begin ... end; Steph [Bigglasses] Upvote 0 Downvote
Oct 22, 2002 Thread starter #3 jbpelletier Programmer Joined Sep 8, 2001 Messages 232 Location CA fast answer.. tanx svanhooft jb Upvote 0 Downvote
Oct 22, 2002 #4 footpad Programmer Joined Nov 9, 2000 Messages 1,086 Location US jb, Actually, Steph's answer needs a slight expansion to cover Insert mode as well: Code: with Table1 do if ( State in [ dsEdit, dsInsert ] ) then // ... Hope this helps... -- Lance Upvote 0 Downvote
jb, Actually, Steph's answer needs a slight expansion to cover Insert mode as well: Code: with Table1 do if ( State in [ dsEdit, dsInsert ] ) then // ... Hope this helps... -- Lance