Information générale
Catégorie:
Codage, syntaxe et commandes
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.
>
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement