formview object and empty daata source (1 Viewer)

wan2fly99

Registered User.
Local time
Today, 04:08
Joined
Feb 7, 2005
Messages
53
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
 

Users who are viewing this thread

Top Bottom