Vince,
Try setting the RecordSource to " " space not "" Empty String

Dave

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of 
Vincent Teachout
Sent: 31 July 2012 12:41
To: ProFox Email List
Subject: Can click() method code be deleted?

I have code in a grid header click() that indexes a cursor.  the cursor doesn't 
exist until it's created by the page activate() method.  (called there because 
other pages can change one of the underlying parameters.

The first time I view the page, the headers work perfectly.  If the page 
activate is called again, header clicks are seemingly ignored.  A set step on 
or "Hi world!" Messagebox in the click() method fires the first time, through, 
but on second call of page activate() never fires.

The activate code does a new sql query to build the cursor the grid is on, 
record source is breifly set to "" (or space(0)) and then set to cursor name.

Would that destroy/disable the click method?  Has anyone heard of anything like 
this?

[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to