help
im trying to create a conditional database query this is what i have
<CFQUERY name="qget_by_date" datasource="log">
Select * FROM productioninfo
WHERE ((txtdate =#LSDateFormat(Now(), "d/m/yy")#))
</CFQUERY>
<cfif qget_by_date.recordcount GT 0 >
<cflocation url="poductioninfo_entryform.cfm">
<cfelse>
<cflocation url="main.asp">
</cfif>
this works but i need to check date=now and username="txt"
an date= now and user name ="txt2"
if either username is not true open enteryform if not do main page?
help!