How can i check that Table Employees has a records?
First there will be opened mainmenu and it´s open event is where this code will be added, am i right?
No it works following way:
- Mainmenu is opened
- Mainmenu will be closed
- Employees form is opened
- Then check that there are any info in form
- if not then mainmenu button.enabled is false
- Else it´s true
- Mainmenu will be opened
This is very stupid way to do this because it´s too slow.
First there will be opened mainmenu and it´s open event is where this code will be added, am i right?
No it works following way:
- Mainmenu is opened
- Mainmenu will be closed
- Employees form is opened
- Then check that there are any info in form
- if not then mainmenu button.enabled is false
- Else it´s true
- Mainmenu will be opened
This is very stupid way to do this because it´s too slow.