General information
Category:
The Mere Mortals Framework
You either have to do the passthru in the Load of the form, so the cursor will be there when the grid is instantiated, or you have to set the control source to the grid, in code after doing the pass thru... like...
ThisForm.Grid.RecordSource = ''
ThisForm.GetData()
ThisForm.Grid.RecordSource = 'MyCursor'
>Hi Everyone,
>
>What is the procedure to populate a Grid using SQL Passthrough? I keep getting invalid control source errors when opening up my find form. When I suspend the find form, I am receiving the result set, it's just that the grid is not getting populated.
>
>My getsqlstring method keeps going away automagically, does this happen to anyone?
>
>Normally I would do a search but it's still not working :(
>
>Thanks,
>
>Chuck
Previous
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