Hi,
You;d make the index yourself...
This is a little ugly as I can't try it myself (mostly pseudocode):
char* index[5]
{
"word1",
"word2",
"word3",
"word4",
"word5"
};
This could be the first record in your database. You can pretty easily go
through a list of strings like this and find the index of the record you
want. The word you want's index in the structure above is the database
index+1...
This is mainly theory and I'm fairly certain that is not a legal
structure... you can use a two dimensional array, but whatever works best.
On 10/15/07, r r <[EMAIL PROTECTED]> wrote:
>
> I created the PDB on my desktop of the words and their
> definition. How do I get the index? Am I making this
> too hard? Is the first one index zero or index one?
> and then they go up from there?
>
> Is it a hex index or is the ID or index simply the
> number 0 or 1,,, etc.?
>
> Dean-O
> --- Phreak OnALeash < [EMAIL PROTECTED]> wrote:
>
> > Hi,
> >
> > IMO, you'd ave to roll your own if you wanted to do
> > a text search... In my
> > opinion, it would be easier to keep an index of the
> > vocabulary words and
> > goto that record, directly.
> >
> > On 10/14/07, DeanO <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi all, I am trying to create a vocabulary type
> > program, which has a
> > > series of screens that have select triggers on
> > them, which are the
> > > vocabulary words. I want to search the database
> > for the description based
> > > on what select trigger(vocabulary word) they pick.
> > >
> > > I have seen there are search by database id
> > functions, but I can not find
> > > one which lets me take the vocabulary word and
> > search the PDB for that
> > > particular word.
> > >
> > > How might I do this?
> > >
> > > Thanks in advance for assistance
> > > Dean-O
> > > --
> > > For information on using the ACCESS Developer
> > Forums, or to unsubscribe,
> > > please see
> > http://www.access-company.com/developers/forums/
> > >
> >
> >
> >
> > --
> > /*PhreakOnALeash*/
> >
> > "My heart is human, my blood is boiling, my brain
> > IBM"
> >
> > --
> > For information on using the ACCESS Developer
> > Forums, or to unsubscribe, please see
> http://www.access-company.com/developers/forums/
>
>
>
>
>
> ____________________________________________________________________________________
> Building a website is a piece of cake. Yahoo! Small Business gives you all
> the tools to get online.
> http://smallbusiness.yahoo.com/webhosting
>
> --
> For information on using the ACCESS Developer Forums, or to unsubscribe,
> please see http://www.access-company.com/developers/forums/
>
--
/*PhreakOnALeash*/
"My heart is human, my blood is boiling, my brain IBM"
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/