[AccessD] Concat Again
Rocky Smolin
rockysmolin at bchacc.com
Fri Feb 2 14:57:33 CST 2018
I don't think you need & Me.txtEquipID &
Just
Set rstEquip = dbs.OpenRecordset("SELECT * FROM tblEquipment WHERE EquipID
=" & Me.txtEquipID)
You *might* need Val(Me.txtEquipID) But I don't think so.
If Me.txtEquipID might be null then you'd either want to trap that condition
before opening the recordset or use Nz(Me.txtEquipID,0)
HTH
Rocky Smolin
Beach Access Software
760-683-5777
www.bchacc.com
www.e-z-mrp.com
Skype: rocky.smolin
-----Original Message-----
From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob
Heygood
Sent: Friday, February 02, 2018 11:37 AM
To: 'Access Developers discussion and problem solving'
Subject: [AccessD] Concat Again
Hello to the list.
Brain lock here. Just can't make this work:
Set rstEquip = dbs.OpenRecordset("SELECT * FROM tblEquipment WHERE
EquipID =" & " & Me.txtEquipID & ")
DAO A 2010
Very sure this is obvious. But not to me right now.
TIA
Bob
--
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com
More information about the AccessD
mailing list