I have been tasked with converting a FoxPro application to MS Access. I was able to convert the database with ease, however the person who originally buil the app did not use any kind keys or normalization to build it. So that has given me some headaches. I have built several forms and am now trying to complete several items on my TODO list.
1) Identify the current record I am on in my form. I have had to remove my navigation bar due to some updates that must take place on any change. So I have created my own toolbar to move to the first, previous, next adn last record. Can anyone point me in the direction of identifying the record I am on?
2) Also I have created a PK for the main table. This table has a realtionship to another table using a field that is a text value. I would like to modify the second table to hold the value of the PK vs. the text field. I have tried the following SQL statement, but Access does not like it for some reason.
update RELXREF set key = (select key from REL_MAST where user_num = RELXREF.user_num)
Sorry for the lengthy post but Access has its own way of doing things and I am finding I do not like it as much as I thought I did. Any pointers would be great!!
Thanks in advance,
Brian
1) Identify the current record I am on in my form. I have had to remove my navigation bar due to some updates that must take place on any change. So I have created my own toolbar to move to the first, previous, next adn last record. Can anyone point me in the direction of identifying the record I am on?
2) Also I have created a PK for the main table. This table has a realtionship to another table using a field that is a text value. I would like to modify the second table to hold the value of the PK vs. the text field. I have tried the following SQL statement, but Access does not like it for some reason.
update RELXREF set key = (select key from REL_MAST where user_num = RELXREF.user_num)
Sorry for the lengthy post but Access has its own way of doing things and I am finding I do not like it as much as I thought I did. Any pointers would be great!!
Thanks in advance,
Brian