Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I get a cursor from another form?
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00187252
Message ID:
00187273
Views:
21
Um, I'm a little confused...

Why are you resetting the grid after calling the Print form? Resetting the RecordSource will re-set any columns you have setup, so you'll get that "Unknown Member.." error. I think you said you know that one... Do you set RecordSource to the cursor name again?

Mark

>>..and have a great weekend!
>
>Oh no,
>not yet. I have another problem, connected with the cursor. When I close the Print Form, and go back to my first Form, I can not fill the grid again.
>This means, I do THISFORM.myGrd.RECORDSOURCE = "" before filling it again, but the message appears, 'Unknown Member clmMyColumn'.
>I know this error, if I forget to set Recordsource to "".
>Also, why is my grid empty when opening the other form? Has this something to do with the cursor, which is actually the source of the grid?
>Hmm, hope someone can help me...
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform