Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox in a grid
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01529523
Message ID:
01529555
Views:
33
>The staic recordsource can still be a cusor, right? Or do I have to use a table for the recordsource?
>
>Thanks for all you help.
>
>Gary

Yes, it still will be a cursor.

Form's load

create cursor with the needed structure

or

select * from ... where 1=0 into GridCursor

When we're changing cursomer:

zap in GridCursor
insert into GridCursor
select *..from where Customer = m.lnCustomer

This will work if you're using VFP tables. For SQL Server select into temp cursor and then zap and insert the same way as above.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform