I have a append query that includes the Str function that works on my computer but not on my clients: The query is:
How come the Str function works on my computer but not the clients?
I have a similiar problem in a report too. The controlSource of this report is:
On my desktop this works, however on my clients the #error comes up. Anyone know why? The client and I have Access 2000 (9.0.2720).
As a collolary to this, how do I get the OnFormat code to work? I tried:
I keep getting value cannot be assigned to txtSerialNumber.
Thanks
Bill Nielsen
Programmer/Systems Analyst
Code:
INSERT INTO tblPhoenix ( Location, ItemNumber, Description, SerialNumber, Lot, ExpirationDate, Selected )
SELECT [Inventory].[Location], [Inventory].[ItemNumber] AS [Item Number], [LookupItem].[Description], [Inventory].[SerialNumber] AS [Serial #], [Inventory].[Lot], str([Inventory].[ExpirationDate]), true
FROM Inventory INNER JOIN LookupItem ON [Inventory].[ItemNumber]=[LookupItem].[ItemNumber];
I have a similiar problem in a report too. The controlSource of this report is:
Code:
=IIf(Trim$([SerialNumber])="---","N/A",[SerialNumber])
As a collolary to this, how do I get the OnFormat code to work? I tried:
Code:
Me.txtSerial = IIf(Trim$([SerialNumber])="---","N/A",[SerialNumber])
Thanks
Bill Nielsen
Programmer/Systems Analyst