herbivorous
Technical User
My form links tblPeople and tblAddresses via AddressID, the primary key of tblAddresses. I am trying to run an event to set People.AddressID to null, thus emptying a couple of address fields. Just having the module say
People.AddressID = Null
gives me an error complaining that the variable is not a variant, suggesting that Null is simply not the right word, though I suspect that since it is the link field, the complaint is actually a deeper one, like wait, no dude, that's too screwed up, I can't let you change that.
A more involved module that changes the underlying table outside of the form gives me a dialog that says another user has changed the record and am I cool with that, which is not something I want to be confusing my users with.
It seems like there should be some simple way to effect this change and update the form, but it eludes me just now. I could remove tblAddresses from my query and display the address info via DLookups, but that hardly seems efficient.
Scott, who knows just enough to be dangerous.
People.AddressID = Null
gives me an error complaining that the variable is not a variant, suggesting that Null is simply not the right word, though I suspect that since it is the link field, the complaint is actually a deeper one, like wait, no dude, that's too screwed up, I can't let you change that.
A more involved module that changes the underlying table outside of the form gives me a dialog that says another user has changed the record and am I cool with that, which is not something I want to be confusing my users with.
It seems like there should be some simple way to effect this change and update the form, but it eludes me just now. I could remove tblAddresses from my query and display the address info via DLookups, but that hardly seems efficient.
Scott, who knows just enough to be dangerous.