S
SherryScrapDog
ID# is the primary key. I have a form where you can enter an ID and the
Command button finds the record that is equal to the ID. This uses
stLinkCriteria (through the wizard). What I really want is for all the
records beginning with the ID entered to be available on the form. I can't
make an 'Or' condition work with the stLinkCriteria and that may be because
I'm still in early learning process. I can change the condition to be > than
the ID and that works fine, except it does not show the record the person
actually entered; it begins with the next record. I thought maybe I could
programmatically somehow change the value of ID (in VBA) to subtract 1 from
it, but I do not know how to do that. (And I guess I would need to make sure
the number entered wasn't already a 1). Any suggestions?
Thanks for any help you may have! Sherry
Command button finds the record that is equal to the ID. This uses
stLinkCriteria (through the wizard). What I really want is for all the
records beginning with the ID entered to be available on the form. I can't
make an 'Or' condition work with the stLinkCriteria and that may be because
I'm still in early learning process. I can change the condition to be > than
the ID and that works fine, except it does not show the record the person
actually entered; it begins with the next record. I thought maybe I could
programmatically somehow change the value of ID (in VBA) to subtract 1 from
it, but I do not know how to do that. (And I guess I would need to make sure
the number entered wasn't already a 1). Any suggestions?
Thanks for any help you may have! Sherry