Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Someone Has Got to Be Doing This (grid questions)
Message
From
26/03/2003 14:22:36
 
 
To
26/03/2003 14:06:22
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00770335
Message ID:
00770397
Views:
13
Hi Charlie,

"add as many as is ever needed..." Now how would one determine that?? Do I project company growth over the next X years and add accordingly? Seems like a lot of bloat to me... or am I misreading you here?

What kind of determination do you use in UserModified()? Let's say I crank through 5 or 10 items - oops, number 3 was a boo boo - I'll just blank out the product id field. Do you throw the entire record away? Just looking for other methods of how to handle such things and to what extent you read your user's minds :-)

>Or just add as many as is ever needed and check for user modified records in the save. Ignore any that are unmodified by the user.
>In our business object class, we have DefaultNumberOfRecords and AddType to control how and if the blank records get added. We have UserModified() to determine if the appended record is worth validating.
>
>>Got users that like data entry in a grid :-) Me too ...
>>
>>Buffer the table, prompt the user for "How many?", append the requisite number of new records and let them have at it.
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform