penguinspeaks
Technical User
Ok. I have been messing around with this for a few days now, and am about to shoot someone. I have a table that has columns named as follows: event, tour, round, wins, loses, gig_name Ok, what i need to display is this, wins, loses, then show a total of loses + (wins*5)
THis is what i have tried SELECT tour, round, wins, loses, SUM((wins * 5) + (loses *1)) as Totpoints FROM rounds WHERE event = 'LSIT' AND gig_name = 'Bam' ORDER by tour DESC, round DESC
It shows ok, but then i get an eror on the actual web page:
Database Results Error
Description: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 5.
Number: -2147217904 (0x80040E10)
Source: Microsoft OLE DB Provider for ODBC Drivers
i have tried everything i know of to get it to work.
Ok. Here is an example of what it should look like.
PLEASE let me know if this helps let
you know what i need here. Thanks for any help out there.. Bam
THis is what i have tried SELECT tour, round, wins, loses, SUM((wins * 5) + (loses *1)) as Totpoints FROM rounds WHERE event = 'LSIT' AND gig_name = 'Bam' ORDER by tour DESC, round DESC
It shows ok, but then i get an eror on the actual web page:
Database Results Error
Description: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 5.
Number: -2147217904 (0x80040E10)
Source: Microsoft OLE DB Provider for ODBC Drivers
i have tried everything i know of to get it to work.
Ok. Here is an example of what it should look like.
PLEASE let me know if this helps let
you know what i need here. Thanks for any help out there.. Bam