Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parsing grids w/added controls
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00325845
Message ID:
00325893
Views:
22
>>>>Hi gang,
>>>>
>>>>This has *got* to be simple, but my swiss-cheese brain can't grab it at the moment...
>>>>
>>>>A colleague of mine has a two-column grid, populated by a SQL Select statement (RecordSourceType = 4). The first column has, as its selected control, a check box -- the second column displays text.
>>>>
>>>>TASK: We need to parse the first column of this grid and determine which check boxes are selected.
>>>>
>>>>I'm sure ONE of us out here has done this, and I think I have before also, but I can't remember how I did it.
>>>>
>>>
>>>Does SCAN ring a bell...
>>
>>Hi Ed,
>>
>>I appreciate your assistance.
>>
>>I'm confused, though -- the SQL statement doesn't populate a cursor, and the control isn't bound. What entity would I use the SCAN command on?
>>
>
>AFAIK, grids -always- have a recordsource, but it may be hidden when doing the design and system generated at runtime; try grabbing the ALIAS() when the Grid activates...

Good idea, Ed -- I'll try it tonight. Thanx!
Evan Pauley, MCP
Positronic Technology Systems LLC
Knoxville, TN

If a vegetarian eats vegetables, what does a humanitarian eat?
Previous
Reply
Map
View

Click here to load this message in the networking platform