Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: SQL
Expertise: Beginner
Mar 24, 1997



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Balnk form

How do I open up a blank form - a form without any values displayed?

As you probably know, you can add a DefaultCondition to your form, such as


which will not allow any rows to be retrieved from the database.

You should be asking yourself, however, why you want to do this. If you use one of the incremental values for the RowFetchMode property, you will not be spending much in the way of resources to bring back some values to the form, especially when you consider that even a DefaultCondition that returns no rows will still have to be parsed by the database.

Having a 'blank' form smacks of the modal design techniques of traditional systems. Most client/server applications begin with some data in a form. If the user wants to be able to rapidly add values to a form, add a push button that calls the InsertRow() for the recordset of the form.

DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date