RGoldthorpe
Technical User
Hello
How is everybody hope you are all well and bouncy
I have a ikkle problem sure it is only little but bugging me now
I have a combo box that list all the dates from a table from selecting the date this should limit the selection of sample ids to only samples that have that date however I keep getting operator/operand mismatch when I select my date
The code is as follows
SELECT FileTtoResult(trd_sResult) ; ;
from testsetresultsheader, testresults; ;
where ; trd_iHeaderID = tsr_iID and; trd_sTest = 5000 and; tsr_sSeason = thisform.cboSeason.Value and; tsr_sTestSet = "FARMSTORES3" and;
tsr_sSiteID =thisform.cboStoreLoc.Value and;
tsr_sStoreID =thisform.cboStoreID.Value and;
tsr_ddate = this.value;
into;
array arr_sampleIDs
thisform.cbosample.Enabled=.T.
thisform.cbosample.NumberOfElements=ALEN(arr_sampleIDs)
I know the date is the problem because I have run it through the debugger and that is where it fall over
Any help greatly appreciated
ThanX
Rachel
How is everybody hope you are all well and bouncy
I have a ikkle problem sure it is only little but bugging me now
I have a combo box that list all the dates from a table from selecting the date this should limit the selection of sample ids to only samples that have that date however I keep getting operator/operand mismatch when I select my date
The code is as follows
SELECT FileTtoResult(trd_sResult) ; ;
from testsetresultsheader, testresults; ;
where ; trd_iHeaderID = tsr_iID and; trd_sTest = 5000 and; tsr_sSeason = thisform.cboSeason.Value and; tsr_sTestSet = "FARMSTORES3" and;
tsr_sSiteID =thisform.cboStoreLoc.Value and;
tsr_sStoreID =thisform.cboStoreID.Value and;
tsr_ddate = this.value;
into;
array arr_sampleIDs
thisform.cbosample.Enabled=.T.
thisform.cbosample.NumberOfElements=ALEN(arr_sampleIDs)
I know the date is the problem because I have run it through the debugger and that is where it fall over
Any help greatly appreciated
ThanX
Rachel