Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Demo Disk
Message
From
16/08/1998 09:50:02
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
15/08/1998 09:53:56
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00123662
Message ID:
00127205
Views:
52
>>Another, easier thing to do: in the Save button's click event, check for Demo and recordcount. Do this at class level. If Demo and TooManyRecords, =messagebox("This is a demo... can't save"), and skip the code which writes the record. Maybe not easier, but needs to be done in only one place - the SaveButton class definition.
>
>
>I could do the same thing in my generic Add code. The difference is that the user is told "can't save" before they key in everything. Even in a demo, it can be frustrating to get that message after entering data.

Oooops! You're right, Craig. Should better move that into the CreateNewRecord.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform