Yikes, it just hit me that I didn't use the command, INTO CURSOR tmpLineNumberCount.
>What is wrong with the following code?
>(There is already a "WITH THISFORM" preceding this code.)
SELECT COUNT(*) AS nCount ;
FROM ;
LOADING ;
WHERE ;
LOADING.Order = .txtcOriginalOrderNumber.Value AND ;
Loading.Line = .txtcLineNumber.Value ;
INTO tmpLineNumberCount