No record in status bar

Questions and answers for designing and implementing forms in Servoy

No record in status bar

Postby irene.meyer1422261887 » Wed Apr 29, 2015 10:46 am

Hello,

When my main form is showing in Smart Client I get a beep and a red warning in the status bar at the bottom "No record, create one first". Which I don't understand because I have at least 1 record in each table of my database.

Has anyone an idea what is causing that, or how can I get red of it?

Cheers
Irene
User avatar
irene.meyer1422261887
 
Posts: 34
Joined: Mon Jan 26, 2015 10:44 am

Re: No record in status bar

Postby Joas » Mon May 04, 2015 2:03 pm

That message can happen when there is a form that has no records loaded on it. This doesn't mean that there are no records in the table. Maybe there was a foundset.loadRecords(someQuery) that resulted in 0 records, or maybe the form is set to load no records initially.
Now when data is entered in a field of the form and a save happens, you get the message in the status bar.
Joas de Haan
Yield Software Development
Need help on your project? yieldsd.com
User avatar
Joas
Site Admin
 
Posts: 842
Joined: Mon Mar 20, 2006 4:07 pm
Location: Leusden, NL


Return to Forms

Who is online

Users browsing this forum: No registered users and 9 guests