diff --git a/AdvertsingProfitControl/APCDatabase.accdb b/AdvertsingProfitControl/APCDatabase.accdb
index 78d0dd7..6b6c2f6 100644
Binary files a/AdvertsingProfitControl/APCDatabase.accdb and b/AdvertsingProfitControl/APCDatabase.accdb differ
diff --git a/AdvertsingProfitControl/DatabaseWriter.cs b/AdvertsingProfitControl/DatabaseWriter.cs
index 2302614..51832a1 100644
--- a/AdvertsingProfitControl/DatabaseWriter.cs
+++ b/AdvertsingProfitControl/DatabaseWriter.cs
@@ -65,7 +65,7 @@ namespace AdvertsingProfitControl
oleDbTransaction.Commit();
foreach (DataRow row in salesTable.Rows)
{
- var rowId = RetrieveRowId(salesTable.TableName, int.Parse(row[6].ToString()), int.Parse(row[10].ToString()), int.Parse(salesTable.Rows[8].ToString()));
+ var rowId = RetrieveRowId(salesTable.TableName, int.Parse(row[6].ToString()), int.Parse(row[10].ToString()), int.Parse(row[8].ToString()));
if (int.Parse(row[8].ToString()) != 0)
{
//Account for the ad special row.
@@ -267,7 +267,7 @@ namespace AdvertsingProfitControl
oleDbTransaction.Commit();
foreach (DataRow row in table.Rows)
{
- var rowId = RetrieveRowId(table.TableName, int.Parse(row[4].ToString()), int.Parse(row[8].ToString()), int.Parse(table.Rows[6].ToString()));
+ var rowId = RetrieveRowId(table.TableName, int.Parse(row[4].ToString()), int.Parse(row[8].ToString()), int.Parse(row[6].ToString()));
if (int.Parse(row[6].ToString()) != 0)
{
//Account for the ad special row.
diff --git a/AdvertsingProfitControl/NewAddRecord.Designer.cs b/AdvertsingProfitControl/NewAddRecord.Designer.cs
index f924d85..16b853b 100644
--- a/AdvertsingProfitControl/NewAddRecord.Designer.cs
+++ b/AdvertsingProfitControl/NewAddRecord.Designer.cs
@@ -962,7 +962,7 @@
// informationLabel
//
this.informationLabel.AutoSize = true;
- this.informationLabel.Location = new System.Drawing.Point(3, 18);
+ this.informationLabel.Location = new System.Drawing.Point(1014, 26);
this.informationLabel.Name = "informationLabel";
this.informationLabel.Size = new System.Drawing.Size(152, 25);
this.informationLabel.TabIndex = 27;
diff --git a/AdvertsingProfitControl/bin/Debug/AdvertsingProfitControl.vshost.application b/AdvertsingProfitControl/bin/Debug/AdvertsingProfitControl.vshost.application
index b8f543b..c456705 100644
--- a/AdvertsingProfitControl/bin/Debug/AdvertsingProfitControl.vshost.application
+++ b/AdvertsingProfitControl/bin/Debug/AdvertsingProfitControl.vshost.application
@@ -14,7 +14,7 @@
- xZQf4lyG78NuQ0APSprGJE7TfHmXY3q7EniNsorWnAI=
+ 0ciZORzVO0teig7ltOqRbCAT8SY4vWnHXeZQzuXDQso=
diff --git a/AdvertsingProfitControl/bin/Debug/AdvertsingProfitControl.vshost.exe.manifest b/AdvertsingProfitControl/bin/Debug/AdvertsingProfitControl.vshost.exe.manifest
index f1270d4..7b7887d 100644
--- a/AdvertsingProfitControl/bin/Debug/AdvertsingProfitControl.vshost.exe.manifest
+++ b/AdvertsingProfitControl/bin/Debug/AdvertsingProfitControl.vshost.exe.manifest
@@ -50,7 +50,7 @@
- pwX2HuLuQjN0X0mlI91r2H59iOeuMyMgp+zObWw85r0=
+ J37ovQ2w2uLSWexQjta/p83ZtKKy+IC5/Dlnu814/qs=