Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form
Message
From
20/06/1997 15:35:45
 
 
To
20/06/1997 15:26:41
Ying Wang
New York State Health Dept
Albany, New York, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Re: Form
Miscellaneous
Thread ID:
00037183
Message ID:
00037205
Views:
34
>>>I have another problem here about form design.
>>>
>>>I use an "Add command" button of a Buttonset in my form to add new records. After entered one record, i.e., it went to the last page of my pageframe, I want to continue to enter more records without clicking "Save command" botton for each record enterd. How should I do this?
>>>
>>>
>>>Thanks in advance for any input.
>>>
>>>
>>>
>>>Ying
>>
>>It completely depends on your design. If for some reason you want to keep bunch of entries and then add them at once, you could collect entry records in cursor and at the end append cursor records to a table. Personally, I would say that it would be strange design. Or maybe I misunderstood your question?
>
>
>Hi Ed,
> You didn't misunderstand my question. The form I am working on is a data entry screen for clerks to enter records from a survey study. Since there will be quite a lot records to be entered each time, clicking Add and Save buttons for each record entered would be time consuming. Of couse, I would like to be able to have data saved automatically after each entry without clicking the Save botton as I used to do in the old fashion Dabse forms. But I could not figure out how.
>
>Ying

'Save' button (with 'saving' code in Click event) is good design feature. Surely, you can 'save' a record from some event like Page.Deactivate (e.g. for last page), or Textbox.Lostfocus (for the 'last' entry box), but all these things don't look reliable because a user can trigger them quite accidentally, and you will have to add a messagebox ("Do you really want to save?), that is more time-consuming. If you would start to limit user activity (tab in one direction only, etc.) you will end with old-Dbase interface for modern product and this would be terrible result.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform