Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accpac View Browse with date filter

Status
Not open for further replies.

sara403

Technical User
Jun 10, 2008
58
IN
Hi,

I am trying to fetch records in AR invoice for a particular date range using views.
Here i am using the following line
.Browse "datermit >=" & txtInvDateRangeFrom & " and datermit <= " & txtInvDateRangeTo, True

but it is not working.
But if i use only browse "",true then it gives me all the records but i need to put some filter for date in the browse.

Also i tried the following line (hardcoded date manually) but it fails
.Browse "datermit=#01/01/2008# and datermit<=#01/01/2008#", True

Please advise me whats wrong in the above code.

Thanks and Regards,
Sara
 
.Browse "datermit=20080101 and datermit<=20080101", True
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top