I am trying to do a seek command using a table that has a two part index. The first field is a character length 1 and the second is a character length 5. The index rxinv1 is set to only these two fields. I use this same seach logic with tables with only one condition without a problem, but when I try the code below it never finds the records, even though they exist. What am I doing wrong by adding the second search condition. I am using VFP 5.0
select search_rxinv
set order to tag rxinv1
if seek (thisform.pageframe1.page1.cbo_rectype.displayvalue + ;
thisform.pageframe1.page1.txt_rxqcode.value)
messagebox("key Already Exists",16,"Error"
thisform.requerry_opt()
endif
Thanks
select search_rxinv
set order to tag rxinv1
if seek (thisform.pageframe1.page1.cbo_rectype.displayvalue + ;
thisform.pageframe1.page1.txt_rxqcode.value)
messagebox("key Already Exists",16,"Error"
thisform.requerry_opt()
endif
Thanks