petermeachem
Programmer
My customer's computer guy is driving me potty ringing up with this problem.
The data in one sql server 7 service pack 1 (i think). They are using Access 97 logged to an nt server.
1) One table is acting as though is does not have a primary key. Access cannot add a record, or edit any records. The error message is to the effect that someone else is editing the record (which they aren't).
2) They are also having trouble logging in. The table was attached via a dsn with trusted connection set. When they start access, it asks for a login.
needless to say, this all works fine here. Any help appreciated.
Script follows:-
/****** Object: Table [dbo].[Order_Entry_Table] Script Date: 1/17/01 9:53:46 AM ******/
if exists (select * from sysobjects where id = object_id(N'[dbo].[Order_Entry_Table]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[Order_Entry_Table]
GO
/****** Object: Table [dbo].[Order_Entry_Table] Script Date: 1/17/01 9:54:10 AM ******/
CREATE TABLE [dbo].[Order_Entry_Table] (
[OrderEntryId] [int] IDENTITY (1, 1) NOT NULL ,
[Supplier] [varchar] (20) NULL ,
[TestSupplier] [varchar] (50) NULL ,
[SupplierName] [varchar] (50) NULL ,
[User_Initials] [varchar] (50) NULL ,
[InputDate] [datetime] NULL ,
[Transmit] [datetime] NULL ,
[ID] [varchar] (20) NULL ,
[DELCOL] [varchar] (50) NULL ,
[WEIGHT] [real] NULL ,
[VOLUME] [real] NULL ,
[DEPOT] [varchar] (50) NULL ,
[EDTIME] [datetime] NULL ,
[EDDAY] [varchar] (10) NULL ,
[LDTIME] [datetime] NULL ,
[LDDAY] [varchar] (10) NULL ,
[TOTULT] [varchar] (50) NULL ,
[FIXULT] [varchar] (50) NULL ,
[Invoice] [int] NULL ,
[InvoiceDate] [datetime] NULL ,
[SageExportStatus] [int] NULL ,
[NAME] [varchar] (25) NULL ,
[LOCATION] [varchar] (25) NULL ,
[DepotDepartTime] [datetime] NULL ,
[RouteNumber] [int] NULL ,
[TripNumber] [int] NULL ,
[ArrivalTime] [datetime] NULL ,
[DepartureTime] [datetime] NULL ,
[ActualPallets] [real] NULL ,
[DepotArriveTime] [datetime] NULL ,
[Price] [money] NULL ,
[InvoicePrinted] [bit] NULL ,
[WindowLink] [varchar] (50) NULL ,
[PickupPoint] [varchar] (50) NULL ,
[DeliveryNote] [varchar] (255) NULL ,
[CollectionPoint] [varchar] (50) NULL ,
[Confirmed] [bit] NULL ,
[ConfirmedLabel] [varchar] (20) NULL ,
[NewRecordAt] [datetime] NULL ,
[RecordChangedBy] [varchar] (50) NULL ,
[RecordChangedAt] [datetime] NULL ,
[DeliveryDepot] [varchar] (20) NULL ,
[InvoicingDepot] [varchar] (20) NULL ,
[OrderExported] [bit] NULL ,
[ExportedDate] [datetime] NULL ,
[TimeOnbay] [datetime] NULL ,
[TimeOffBay] [datetime] NULL ,
[POD] [varchar] (50) NULL ,
[Returnedpallets] [int] NULL ,
[Detail3] [varchar] (50) NULL ,
[NominalCode] [varchar] (50) NULL ,
[ForeignId] [int] NULL ,
[Chargeable] [bit] NULL ,
[PalletsCollected1] [int] NULL ,
[PalletsCollected2] [int] NULL ,
[PalletsCollected3] [int] NULL ,
[PalletsCollected4] [int] NULL ,
[PalletsCollected5] [int] NULL ,
[PalletsCollected6] [int] NULL ,
[Trailer1] [varchar] (10) NULL ,
[Trailer2] [varchar] (10) NULL ,
[Trailer3] [varchar] (10) NULL ,
[Trailer4] [varchar] (10) NULL ,
[Trailer5] [varchar] (10) NULL ,
[Trailer6] [varchar] (10) NULL ,
[CustomerSupplierOrderNo] [varchar] (50) NULL ,
[chkChanged] [bit] NULL ,
[SumCollected] [int] NULL ,
[LaneNo] [varchar] (10) NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Order_Entry] WITH NOCHECK ADD
CONSTRAINT [aaaaaOrder_Entry_PK] PRIMARY KEY NONCLUSTERED
(
[ID1]
) ON [PRIMARY]
GO
CREATE INDEX [ID] ON [dbo].[Order_Entry]([ID]) ON [PRIMARY]
GO
CREATE INDEX [NAME] ON [dbo].[Order_Entry]([NAME]) ON [PRIMARY]
GO
Peter Meachem
peter@accuflight.com
The data in one sql server 7 service pack 1 (i think). They are using Access 97 logged to an nt server.
1) One table is acting as though is does not have a primary key. Access cannot add a record, or edit any records. The error message is to the effect that someone else is editing the record (which they aren't).
2) They are also having trouble logging in. The table was attached via a dsn with trusted connection set. When they start access, it asks for a login.
needless to say, this all works fine here. Any help appreciated.
Script follows:-
/****** Object: Table [dbo].[Order_Entry_Table] Script Date: 1/17/01 9:53:46 AM ******/
if exists (select * from sysobjects where id = object_id(N'[dbo].[Order_Entry_Table]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[Order_Entry_Table]
GO
/****** Object: Table [dbo].[Order_Entry_Table] Script Date: 1/17/01 9:54:10 AM ******/
CREATE TABLE [dbo].[Order_Entry_Table] (
[OrderEntryId] [int] IDENTITY (1, 1) NOT NULL ,
[Supplier] [varchar] (20) NULL ,
[TestSupplier] [varchar] (50) NULL ,
[SupplierName] [varchar] (50) NULL ,
[User_Initials] [varchar] (50) NULL ,
[InputDate] [datetime] NULL ,
[Transmit] [datetime] NULL ,
[ID] [varchar] (20) NULL ,
[DELCOL] [varchar] (50) NULL ,
[WEIGHT] [real] NULL ,
[VOLUME] [real] NULL ,
[DEPOT] [varchar] (50) NULL ,
[EDTIME] [datetime] NULL ,
[EDDAY] [varchar] (10) NULL ,
[LDTIME] [datetime] NULL ,
[LDDAY] [varchar] (10) NULL ,
[TOTULT] [varchar] (50) NULL ,
[FIXULT] [varchar] (50) NULL ,
[Invoice] [int] NULL ,
[InvoiceDate] [datetime] NULL ,
[SageExportStatus] [int] NULL ,
[NAME] [varchar] (25) NULL ,
[LOCATION] [varchar] (25) NULL ,
[DepotDepartTime] [datetime] NULL ,
[RouteNumber] [int] NULL ,
[TripNumber] [int] NULL ,
[ArrivalTime] [datetime] NULL ,
[DepartureTime] [datetime] NULL ,
[ActualPallets] [real] NULL ,
[DepotArriveTime] [datetime] NULL ,
[Price] [money] NULL ,
[InvoicePrinted] [bit] NULL ,
[WindowLink] [varchar] (50) NULL ,
[PickupPoint] [varchar] (50) NULL ,
[DeliveryNote] [varchar] (255) NULL ,
[CollectionPoint] [varchar] (50) NULL ,
[Confirmed] [bit] NULL ,
[ConfirmedLabel] [varchar] (20) NULL ,
[NewRecordAt] [datetime] NULL ,
[RecordChangedBy] [varchar] (50) NULL ,
[RecordChangedAt] [datetime] NULL ,
[DeliveryDepot] [varchar] (20) NULL ,
[InvoicingDepot] [varchar] (20) NULL ,
[OrderExported] [bit] NULL ,
[ExportedDate] [datetime] NULL ,
[TimeOnbay] [datetime] NULL ,
[TimeOffBay] [datetime] NULL ,
[POD] [varchar] (50) NULL ,
[Returnedpallets] [int] NULL ,
[Detail3] [varchar] (50) NULL ,
[NominalCode] [varchar] (50) NULL ,
[ForeignId] [int] NULL ,
[Chargeable] [bit] NULL ,
[PalletsCollected1] [int] NULL ,
[PalletsCollected2] [int] NULL ,
[PalletsCollected3] [int] NULL ,
[PalletsCollected4] [int] NULL ,
[PalletsCollected5] [int] NULL ,
[PalletsCollected6] [int] NULL ,
[Trailer1] [varchar] (10) NULL ,
[Trailer2] [varchar] (10) NULL ,
[Trailer3] [varchar] (10) NULL ,
[Trailer4] [varchar] (10) NULL ,
[Trailer5] [varchar] (10) NULL ,
[Trailer6] [varchar] (10) NULL ,
[CustomerSupplierOrderNo] [varchar] (50) NULL ,
[chkChanged] [bit] NULL ,
[SumCollected] [int] NULL ,
[LaneNo] [varchar] (10) NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Order_Entry] WITH NOCHECK ADD
CONSTRAINT [aaaaaOrder_Entry_PK] PRIMARY KEY NONCLUSTERED
(
[ID1]
) ON [PRIMARY]
GO
CREATE INDEX [ID] ON [dbo].[Order_Entry]([ID]) ON [PRIMARY]
GO
CREATE INDEX [NAME] ON [dbo].[Order_Entry]([NAME]) ON [PRIMARY]
GO
Peter Meachem
peter@accuflight.com