Hi, I have a dataenvironment like this :

dataenvironment1
mydatabase
mycustomerTable

''''''''''''''''''''''''''''''''''''''''''
Sub form_load()
if dataenvironment1.rsmycustomerTable.eof then
cmdtop.enabled = false
cmdprevious.enabled = false
cmdnext.enabled = false
cmdbottom.enabled = false
end if
end sub




In my form_load(), I want to check whether the table is empty or not. The navigation button will be disabled if the table is empty. But the form_load() do not understand dataenvironment1.
How can I do that ?
Than you !