General information
Category:
Forms & Form designer
Title:
Grid needs delay to display properly. Why?
if I
"do form gridpop with (a bunch of parameters)"
intended to give me a popup of all available stock items...
the first time in each "session" that I do this, instead of showing me the full stock list, the grid displays either no records (if none has yet been added to the sales order I'm in) or just the one record (corresponding to the foreign value of the record I'm on). There are no filters in operation, table relationships are OK and the procedure works in 50 other similar situations.
Trying to debug this, I put a "suspend" in front of the "do form" so I could watch what happened.
Nothing happened. i.e. the problem went away.
i.e. Even if, as soon as it "suspends" I then hit the F5 key to let it resume, instead of the above, the subsequent behaviour is exactly what I'm trying to get in the first place (a full display of available codes).
I got the same (correct) result by putting
WAIT 'Press any key to see the Stock Popup...'
where the "suspend" used to be.
whereas, if I try WAIT TIMEOUT (anything)
it doesn't work. Its as though it needs to actually stop processing and then continue. A mere timeout of anything up to 10 seconds doesn't do the job.
What can it be waiting for? and why or how would whatever its waiting for cause a restricted display?
As I say, I use the same popup format in about 50 different places, so I'm very familiar with what works and what doesn't. Aint nutt'n obviously or significantly different in this case.
Can anyone light my way?
Harry
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