dschomburg
MIS
Here is my SQL
SELECT tmp_tbl_dealing.crd_Player_Number, Count(tmp_tbl_dealing.crd_Player_Number) AS CountOfcrd_Player_Number
FROM tmp_tbl_dealing
GROUP BY tmp_tbl_dealing.crd_Player_Number;
Which will always return 1 record. I want to use the field "CountOfcrd_Player_Number" to populate a textbox when a button is pushed.
I'm having trouble with using the value of the textbox in an IF THEN statement. So,
I think the only thing I can do is call a function but I don't know how to do the SQL in the function.
Any thoughts?
Thanks,
Dave
SELECT tmp_tbl_dealing.crd_Player_Number, Count(tmp_tbl_dealing.crd_Player_Number) AS CountOfcrd_Player_Number
FROM tmp_tbl_dealing
GROUP BY tmp_tbl_dealing.crd_Player_Number;
Which will always return 1 record. I want to use the field "CountOfcrd_Player_Number" to populate a textbox when a button is pushed.
I'm having trouble with using the value of the textbox in an IF THEN statement. So,
I think the only thing I can do is call a function but I don't know how to do the SQL in the function.
Any thoughts?
Thanks,
Dave