No Record on the 'one' side

G

Guest

I have a form that prepares data for an invoice. The form is linked to it's
own table "UnitSales" and is populated from a table called "TCA" the invoice
report is then generated primarily from the "UnitSales" table. Both tables
link to a third table called "StockUnits" containing information regarding
the unit to be sold.

Recently I have added fields to the UnitSales table to facilitate
denormalization to speed up query times and reduce locks on records over
multiple tables as this is a multi-user system. I now get the error:

"Records in table 'StockUnits' would have no record on the 'one' side"

Where do I start looking for the error?

Thanks,

Pip''n
 
G

Guest

Pip''''n said:
I have a form that prepares data for an invoice. The form is linked to it's
own table "UnitSales" and is populated from a table called "TCA" the invoice
report is then generated primarily from the "UnitSales" table. Both tables
link to a third table called "StockUnits" containing information regarding
the unit to be sold.

Recently I have added fields to the UnitSales table to facilitate
denormalization to speed up query times and reduce locks on records over
multiple tables as this is a multi-user system. I now get the error:

"Records in table 'StockUnits' would have no record on the 'one' side"

Where do I start looking for the error?

Thanks,

Pip''n

The error occurs when this line of code is run:

' enter stock #
Form_UnitSales.STK_ = Form_TCA.TCASTK_

the error says:

Records in table 'StockUnits' would have no record on the 'one' side.

The value is taken from the TCA Form that opens the UnitSales Form. The Code
occurs in the OnClick event of the button that opens the form.

Pip''n
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top