Microsoft
Software
Hardware
Network
Question : Form with Subform, How to check if child record(s) within a subform exists.
I have a from with a subform embedded within it. They are both linked via master/child id field.
I'd like to have a textBox on the parent form that displays "child record exist" if there are one or more child records linked to the master record. And if there is no child record its just stays blank.
Thanks
Lat
My coding skills is not so great, details is much appreciated.
Answer : Form with Subform, How to check if child record(s) within a subform exists.
Put this in the Control Source of your text box:
=IIf([Forms].[Form6].[fsub
01].[Form]
.[Recordse
tClone].[R
ecordCount
]=0,"no records","You Got Records")
where fsub01 is the Name of your Subform Control on the Main form.
mx
Random Solutions
Closing a form with docmd.close
Stock/Share Portfolio Management
How can I put the file name and a SHORT path at the bottom of my word 2007 documents?
Error #3035 System Resurce Exceeded
CommonDialog control in Access 2007 -- problem
VBA Looping through cells
Create MDE from MDB hangs
Migrating shares from Windows 2003 to 2008
Macro to keep certain colums and delete the rest.
Auto save and zip macro that overwrites zipped files when condition is met