Question: I have two tables tb\_acct and tb\_txn

```
tb_acct (acct_num, acct_name)
tb_txn (txn_memo, originator_acct_num, receiver_acct_num)

```

`tb_txn` can be joined with `tb_acct` on either `originator_acct_num` and `receiver_acct_num`

I want to write one query to return number of records in tb\_acct whose acct\_num does not match with both originator\_acct\_num and receiver\_acct\_num, i.e. all those records that cannot be tied back to tb\_acct table.

Answer: 
You should keep local reference to your resources, because when you invoke `KaminuSkaiciuokle.Properties.Resources...` you will always get new instance of object:

```
public partial class Form1 : Form
{
    public Form1()
    {
        InitializeComponent();
    }

    Bitmap _icopalABitmap = KaminuSkaiciuokle.Properties.Resources.IcopalA;
    Bitmap _icopalBBitmap = KaminuSkaiciuokle.Properties.Resources.IcopalB;

    private void pictureBox1_Click(object sender, EventArgs e)
    {            
        if (pictureBox7.Image == _icopalABitmap)
        {
            pictureBox7.Image = _icopalBBitmap;
        }
        else
        {
            pictureBox7.Image = _icopalABitmap;
        }
    }

    private void Form1_Load(object sender, EventArgs e)
    {
        pictureBox7.Image = _icopalABitmap;
    }
}

```
please attention this code:

```
Bitmap _icopalABitmap = KaminuSkaiciuokle.Properties.Resources.IcopalA;

```

\_icopalABitmap:it is name you ideal that.
KaminuSkaiciuokle: it aqual your project name.
IcopalA: is your picture name