devxlogo

Balnk form

Balnk form

Question:
How do I open up a blank form – a form without any values displayed?

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

1=0

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.

See also  5 Ways to Improve Customer Experience
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist