Hi all,
I am using access and in that I link
the tables from oracle. I create
a form and in that i have a text field e.g. emp_no
this emp_no field should take the max value from
table emp while adding the record.
i use in one of the event functions
DoCmd.RunSql "select max(emp_no) from emp"
but its not working.
what i want is to take the result of this querry
in a variable and display it in this text field.
how to achieve this.
in this program i am not opening any database
the tables are linked from oracle.
please help.
thanks
lee.
--
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG