View Full Version : onRowDblclick


Romy Huang
03-04-2005, 06:08 AM
I have a form named "address_info" which is based on table "address". An button on the form query through table, find result and show it on the browse. So far so good. After the browse pops out, I click on a record( I want the record show on the form), it will fire "onRowDBLClick" event, but I get an error.

Code for onRowDBLClick:

Any idea?

Romy Huang
03-04-2005, 06:10 AM
Thank you in advance.

Romy Huang
03-04-2005, 06:11 AM
the error is "you can only zoom if a record in embeded browse has focus."

Stan Mathews
03-04-2005, 07:00 AM
It works for me with an embedded browse. Try removing the colon in





Romy Huang
03-04-2005, 07:13 AM
my browse is not embeded.

so I can't use zoom_to_record.

Any script to get a record on the form? Thanks.

Cheryl Lemire
03-04-2005, 10:51 AM

Is the embedded browse based on the same table as the form you want to show the record in? If so, maybe in the OnDblRowClick event you can get the record number then load the form filtered to that record number?

Good luck

Romy Huang
03-04-2005, 11:16 AM
Thanks. I got it from old discussion.