I have a sql query where I need to do a DSUM to create a running total. So it will add the value of the previous with its own. The issue is the field I comparing is an alphanumeric character it can be 200, 201, 202 but also 200A, 200B, etc.
So I cannot do a simple > symbol. how do I determine that 201 is greater than 200A and 200B is greater than 200A, etc.
Here is the sql that I need to modify:
btw RouteID is the one that is the alphanumeric field.
So I cannot do a simple > symbol. how do I determine that 201 is greater than 200A and 200B is greater than 200A, etc.
Here is the sql that I need to modify:
Code:
RunningTotal: DSum("TotalAmount","qryRunningTotalForDailyCash","RouteID<=" & [RouteID])
btw RouteID is the one that is the alphanumeric field.