Ms Access SQL automitacally picking a field based on the 1st choice -


enter image description here in table customer storing cusid (i have pleased caption customer , made display name cusid corresponds to) in cusnum field want automatically pic number cusid of entered previous field (if customer doesnt exist should add number of unregistered customer)

i came following sql

select [customer].[cuscontact]  customer  [sale].[cusid] = [customer].[cusid];  

but reason not automatically catching cusid sale table asking manually inputted ! please !

what need here understand how use relationships in microsoft access environment. perfect example of using referrential integrity perform cascading update. highly suggest reading linked article before try try bandaid hack way you've described above.


Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -