View Full Version : formview object and empty daata source


wan2fly99
04-13-2010, 10:03 AM
I a formview object

I have created an edit temple and an empty template

When there is data in the table nor problem

When my table is empty i got the empty template to display

when I click insert I get the error

" Form must be in insert mode"

How can I tell if there is no data on the page load so I can maybe do this:


formview.f1.defaultmode = fornviewmode.insert


Any help is appreciated