Thought I'd share this one because it has driven me nuts for a while
now.

 

My customer reports a sporadic problem with things like "Variable
cu_name not found in read events"

Cu_name is a valid field in the customer table, the form it is contained
in ("customer") is also present although not the active form.

 

Once the error has appeared the read events has stopped and I'm at the
source line immediately after the read events in the main.prg file.

 

I have two forms open before the error (customer and product), The
customer screen also has a  set filter to for speed.

Both forms are vcx based with cursoradapters to SQL server.

 

All I'm doing is swapping between the two forms with
ofrmcustomer.show() or ofrmproduct.show() from a toolbar.

 

What I've found is calling oFrmProduct.show method from when a form with
cursoradapter and filter will consistently crash fox.

 

If I remove the set filter and replace it with a requery of the database
(caProduct.cSelectCMDFilter='cu_status='O' or whatever and
caProduct.cursorfill() ) I do not get any problems.

 

I have no idea why moving focus from a frm with cursoradapters and a
filter will crash an application but hope this helps somebody.

 

Regards

Graham

 



--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
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