I have 2 groups using a single pick list. I want one group to see only their own data. Human resources and First Aid will be using the tablr.
Example:
Table = Gender
Field1 = Gendername varchar(30)
Field2 - Gendercode varchar(1)
When a First aider opens the form, the sql is like -> select x from gender where gendercode='F' order by Gendername. This all works.
When a Human Resources opens the form, the sql is like -> select x from gender where gendercode='H' order by Gendername. This all works.
On the form, I leave a dbedit invisible, once the user adds a gender, on the exit, I add the corresponding 'H' or 'F', then do a post. Commit;
The Gendername is saved but the gendercode is not.
Any ideas?
George Lewins