Hi,
I have a string that I am trying to get working so that I can use the value from it and place the result into another string.
It basically gets the last value in the tblExportInformation.
How is it possible for me to get the value from the SELECT query and and place it into a WHERE string for example....
As you can see I have no idea what Im doing here so any advise would be great.
THanks for your time.
I have a string that I am trying to get working so that I can use the value from it and place the result into another string.
Code:
strLastRecord = "SELECT (Max(ExportDate)) AS TheLast FROM tblExportInformation "
It basically gets the last value in the tblExportInformation.
How is it possible for me to get the value from the SELECT query and and place it into a WHERE string for example....
Code:
strWHERE = " WHERE tblPersonalInformation.DateModified LIKE '" & strLastRecord & "' "
As you can see I have no idea what Im doing here so any advise would be great.
THanks for your time.