Question.
By entering EntityName and Tradingname alone in query q01BusinessInfo we would like the address to be created as well. Is it possible in the query after entering these two fields that an address record is created already?
Reason.
Sometimes a new record needs to be created in a hurry by just entering the name, and then come back later to complete information like “address” and “bank particulars”.
Remark
We made it work using the forms. Am I missing something that it can be achieved in the table and query? In the form we still have to at least enter one field each in the two main tables, t01Combinedentity and t01BusinessInfo. I am not sure why in the query the default values are set the same as on the form. On the form it creates an address record. When I test it in the query entering the 2 fields it doesn’t create a record in address.
Background
- Our database is setup where all entities i.e. Banks, Employees, Customers, Suppliers and Agents have their own tables. They are combined in t01Combinedentity table.
- There is one table to keep all addresses and one table to keep all Bank particulars.
- In t01Combinedentity there is a local link addrss_ID001. I can’t put a default value since a new record must be created for every address of the different new entities being created.
Test 200225.zip