Would appreciate a bit of help on the 'set key' command.
I have a networked table of approximately 75,000 customers and use a select statement to bring in the appropriate records for the selected zip. The user clicks a check box in the zip grid. I was experementing with the 'set key' command and found it to be much faster in retrieving the records than the select statement. All well and good but the set key command sometimes brings back no records from the customer file even though there may be hundreds of matching records. Exit the form try again and up they pop.
I use macro substitution to pass the value to the check box.
The table is indexed on zip+last(name)+first(name). The set exact on/off combinations don't seem to help too much.
Many thanks
rgw
I have a networked table of approximately 75,000 customers and use a select statement to bring in the appropriate records for the selected zip. The user clicks a check box in the zip grid. I was experementing with the 'set key' command and found it to be much faster in retrieving the records than the select statement. All well and good but the set key command sometimes brings back no records from the customer file even though there may be hundreds of matching records. Exit the form try again and up they pop.
I use macro substitution to pass the value to the check box.
The table is indexed on zip+last(name)+first(name). The set exact on/off combinations don't seem to help too much.
Many thanks
rgw