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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do i query the size of a field in Access?

Status
Not open for further replies.

Guest_imported

New member
Joined
Jan 1, 1970
Messages
0
Hello,

I was wondering if anyone knows how to write a query that only returns rows with a field of a certain number of characters? Can this be done in a select query?

e.g. "select * from tblBooks Where sizeof(txtBookTitle) > 100"

something like that to select only books with titles longer than 100 characters?

Any help would be greatly appreciated,

thanks

jonty
 
select * from tblBooks Where Len(txtBookTitle) > 100
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top