Autoseek option

This forum is for eXpress++ general support.
Post Reply
Message
Author
omni
Posts: 531
Joined: Thu Jan 28, 2010 9:34 am

Autoseek option

#1 Post by omni »

We have a user that wants to be able to search based on the last 5 characters of an account number. I know we can display it with no problem in the browse (we use dcfindbrowse, or sometimes our own similar version) but was not sure if the autoseek can work somehow on that.
I know we could create a field in the data file, but just curious if it could be done another way.

Thanks

Fred
Omni

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Autoseek option

#2 Post by rdonnay »

If you're talking about using DC_BrowseAutoSeek() or DC_FindBrowse(), then you will want to index on the last 5 characters. Otherwise, you will need to use a custom code block for doing the seek and this would have to call dbLocate() rather than dbSeek(). This would be very slow on a large database.
The eXpress train is coming - and it has more cars.

Post Reply