Hi, lots of detail in this one. I have a form in the forms record source I have this sql statement...
SELECT [TENDERS TABLE].[Destination Terminal], [TENDERS TABLE].[Destination City], [TENDERS TABLE].[Gallons Received], [TENDERS TABLE].[Date Received], [TENDERS TABLE].[Pumping Ticket #], [TENDERS TABLE].Batch, tblTERMINCOMGL_1.[Terminaling Income for PFC Tank], tblTERMINCOMGL_1.PAID, tblTHRUPUTGL.[Thru-put Adj Value from PFC transfer], tblTHRUPUTGL.PAID, tblTERMINALINGGL.Terminaling, tblTERMINALINGGL.PAID, tblTARIFFGL.[Pipeline Tariff to be accrued], tblTARIFFGL.PAID
FROM tblTERMINALINGGL RIGHT JOIN (tblTHRUPUTGL RIGHT JOIN (tblTARIFFGL RIGHT JOIN (tblTERMINCOMGL AS tblTERMINCOMGL_1 RIGHT JOIN [TENDERS TABLE] ON tblTERMINCOMGL_1.[Pumping Ticket #] = [TENDERS TABLE].[Pumping Ticket #]) ON tblTARIFFGL.[Pumping Ticket #] = [TENDERS TABLE].[Pumping Ticket #]) ON tblTHRUPUTGL.[Pumping Ticket #] = [TENDERS TABLE].[Pumping Ticket #]) ON tblTERMINALINGGL.[Pumping Ticket #] = [TENDERS TABLE].[Pumping Ticket #]
WHERE ((([TENDERS TABLE].[Gallons Received])>0));
The records that pull up will not allow me to edit. I keep getting a cannot update the recordset error. I made sure all the controls were set to edit but that is not the problem so I figure that it has to be in the sql statement. It is pulling records from 5 different tables and bringing the values into the form so I can "EDIT" them. The tenders table is my main data entry table and the others are GL tables. Any help on this would be appreicated.
SELECT [TENDERS TABLE].[Destination Terminal], [TENDERS TABLE].[Destination City], [TENDERS TABLE].[Gallons Received], [TENDERS TABLE].[Date Received], [TENDERS TABLE].[Pumping Ticket #], [TENDERS TABLE].Batch, tblTERMINCOMGL_1.[Terminaling Income for PFC Tank], tblTERMINCOMGL_1.PAID, tblTHRUPUTGL.[Thru-put Adj Value from PFC transfer], tblTHRUPUTGL.PAID, tblTERMINALINGGL.Terminaling, tblTERMINALINGGL.PAID, tblTARIFFGL.[Pipeline Tariff to be accrued], tblTARIFFGL.PAID
FROM tblTERMINALINGGL RIGHT JOIN (tblTHRUPUTGL RIGHT JOIN (tblTARIFFGL RIGHT JOIN (tblTERMINCOMGL AS tblTERMINCOMGL_1 RIGHT JOIN [TENDERS TABLE] ON tblTERMINCOMGL_1.[Pumping Ticket #] = [TENDERS TABLE].[Pumping Ticket #]) ON tblTARIFFGL.[Pumping Ticket #] = [TENDERS TABLE].[Pumping Ticket #]) ON tblTHRUPUTGL.[Pumping Ticket #] = [TENDERS TABLE].[Pumping Ticket #]) ON tblTERMINALINGGL.[Pumping Ticket #] = [TENDERS TABLE].[Pumping Ticket #]
WHERE ((([TENDERS TABLE].[Gallons Received])>0));
The records that pull up will not allow me to edit. I keep getting a cannot update the recordset error. I made sure all the controls were set to edit but that is not the problem so I figure that it has to be in the sql statement. It is pulling records from 5 different tables and bringing the values into the form so I can "EDIT" them. The tenders table is my main data entry table and the others are GL tables. Any help on this would be appreicated.