Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reference one form from another
Message
From
19/07/2000 03:24:40
 
 
To
18/07/2000 19:44:11
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00393630
Message ID:
00394200
Views:
15
Hi Jimmy.

>> What I'm doing with the form references is when you click on "save" I want a box to come up asking if the user would like to append a new record. Is there already a similar class to perform this function? <<

Where is the Save button? And where are you appending a new record? In a child table? I am a bit confused here. If the user has changes to save, what does it have to do with appending a new record?

>> Also, I'm sure a better way would be to have the save method go ahead and append a new blank record on each save, and when the append mode is closed - remove the last blank record. How do I cancel an append blank once its implemented? <<

Oh, I think I understand now. You want to implement something like a continuous add mode. Hmmm. IIt all depends on how your application is structured. Off the top of my head, I would allow the user to configure it by checking a checkbox on the form that says 'Continuous add' or something like that. And then, in the Save() method, add code to check for Thisform.lContinuousAddMode and call the New() method if it is true.

You would have to put some code into your validation that does not allow the user to save blank records.

Marcia
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform