General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Weird Behaviour from Newly Requeried Cursor Behaviour
Environment versions
Network:
Windows 2003 Server
Hi All,
I am into constructing my data access classes for MySQL databases. I use the DE as sort of a datalayer class which houses my CursorAdapter subclasses.
Everything works fine. Except for this weird behaviour. So, here it is:
I have a parent-child form, the underlying tables are obtained from CAs "pointing" to MySQL tables.
So, record navigation (TOP, NEXT, PREV, BOTTOM) moves the parent table to the appropriate records, which causes the child CA to do a Requery. The child CA records are in a grid.
I put code in the DblClick to pop up a form which shows the selected child record data.
This is where the weird behaviour happens: the "FIRST" dblclick will always have the "TOP" record pop out in the child form! Succeeding double clicks will only then show the correct record!
I then put code in BeforeRowColChange and AfterRowColChange to track it... it really
GOES to top in the first doubleclick!
Help! Thanks too for any help given!
I am stumped at this for days.
Dennis
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only