Home » Developer & Programmer » Forms » restrict mouse on queried records only
restrict mouse on queried records only [message #226233] Fri, 23 March 2007 00:33 Go to next message
wency
Messages: 450
Registered: April 2006
Location: Philippines
Senior Member

I have database and I display all records in a canvas. I put codes on key-down so that the user cannot create new record using arrow down. I want the user to create additional records by pressing button. But when the user uses mouse and click on row after the last queried record it create new record. How can I prevent this?
Re: restrict mouse on queried records only [message #226885 is a reply to message #226233] Mon, 26 March 2007 18:19 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Have you tried turning 'insert' on the block 'off' and only turn it back on when the user presses the 'insert' button?

David
Previous Topic: form help
Next Topic: Prakash-Forms Doubt
Goto Forum:
  


Current Time: Sat Feb 08 20:50:00 CST 2025