Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data Entry using a grid
Message
From
11/08/2005 04:41:56
 
 
To
11/08/2005 01:14:11
Randy Wessels
Screentek Business Solutions, Llc.
Phoenix, Arizona, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01040083
Message ID:
01040113
Views:
14
Hi,

As Craig said, you need record source for grid, so you simply
create temporary cursor with 10 records and matching structure
and there you go. This will also give you chance to validate
records in one common procedure i/o messing up with each column textbox
validations and all bunch of other problems you will face there.

As far as combos and headers, you cannot put combo inside grid header object, but you can spread it ON TOP OF, or ABOVE (hair thin) grid headers.

Rgds ++
Sergio



>Hello,
>
>I am trying to setup a grid for entering data that is not tied to a table. The grid has a fixed number of columns (8 - columncount property) and rows (10 - by size of grid). It seems that I need to give it a recordsource, but I don't have one. I tried setting up a cursor with 8 columns of data and inserting 10 records into that cursor, but I get wierd results. Any ideas?
>
>Also is there any way to put a combohox in the header of a grid column?
>
>Thanks in advance for the help!
>
>Randy
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform