[Solved] Thanks for the suggestion. I had used "AsInteger" before but it wouldn't compile as I was not using "StrToInt(SelectedProfileID)". Once I added the "StrToInt(SelectedProfileID)" it did compile and ran. Unfortunately the ProfileID field in the table still wasn't updating. Given your suggestion should have worked, I began to wonder about the "ProfileID" field itself. It is defined as being an Integer and Null and that's the clue. In the update statement it's specified as being "=0", when in fact it's actually Null as it has no value assigned. Once the Update Statement was changed to "UPDATE Allowances SET ProfileID = :SelectedProfileID WHERE ProfileID is Null" it all worked. Seems so simple. Blasted Nulls, there's a good reason why it's highly recommended not to use them.
Thanks for your help, I appreciate it. Now I can move on to the other grids and tables.
Regards...
Gk.