Python Forum
Problem applying conditions against results back from a database
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem applying conditions against results back from a database
#25
(Jun-12-2020, 11:54 PM)card51shor Wrote: anyone who can help?

I don't need riddles - i need help. Thanks!

This thread is getting a bit out of hand, reading through all the post its hard to tell what the actual problem is any more.
Just going from the first post, what's stored in the database does not match when doing a comparison that you expect to match?
Is the data on the database wrong?
If so are you adding the data to the database?
and if that is the case you would need to show how you are adding the data.

If you are not in control of the data and you just need to work with what you get back:
Is the data consistent, could you alter the format of the string you are comparing to match the format of the database data?
If you want to remove the unnecessary extra characters and don't know how you would need to show examples of what the data looks like and how you would like it to be.

In summary, the code shown is not runnable by anyone else but yourself, so you would either need to:
show something runnable to enable people trying to help to see the problem
or give examples of the strings you are comparing.

This thread either needs bringing back on track with an update of what you actually need and draw a line under the rest or closing and a new thread started cleary giving the problem at hand.

Please help the forum to help you
Reply


Messages In This Thread
RE: Problem comparing two values - by card51shor - Jun-12-2020, 02:59 AM
RE: Problem comparing two values - by ndc85430 - Jun-12-2020, 03:48 AM
RE: Problem comparing two values - by card51shor - Jun-12-2020, 04:01 AM
RE: Problem comparing two values - by ndc85430 - Jun-12-2020, 04:09 AM
RE: Problem comparing two values - by card51shor - Jun-12-2020, 05:03 AM
RE: Problem comparing two values - by ndc85430 - Jun-12-2020, 05:05 AM
RE: Problem comparing two values - by card51shor - Jun-12-2020, 05:07 AM
RE: Problem comparing two values - by ndc85430 - Jun-12-2020, 05:09 AM
RE: Problem comparing two values - by card51shor - Jun-12-2020, 05:10 AM
RE: Problem comparing two values - by ndc85430 - Jun-12-2020, 05:12 AM
RE: Problem comparing two values - by card51shor - Jun-12-2020, 05:14 AM
RE: Problem comparing two values - by ndc85430 - Jun-12-2020, 05:17 AM
RE: Problem comparing two values - by card51shor - Jun-12-2020, 05:24 AM
RE: Problem comparing two values - by ndc85430 - Jun-12-2020, 05:27 AM
RE: Problem comparing two values - by card51shor - Jun-12-2020, 05:29 AM
RE: Problem comparing two values - by ndc85430 - Jun-12-2020, 05:33 AM
RE: Problem comparing two values - by card51shor - Jun-12-2020, 05:35 AM
RE: Problem comparing two values - by ndc85430 - Jun-12-2020, 05:41 AM
RE: Problem comparing two values - by card51shor - Jun-12-2020, 06:04 AM
RE: Problem comparing two values - by card51shor - Jun-12-2020, 11:54 PM
RE: Problem comparing two values - by pyzyx3qwerty - Jun-13-2020, 05:12 AM
RE: Problem comparing two values - by Yoriz - Jun-13-2020, 08:51 AM
RE: Problem comparing two values - by card51shor - Jun-13-2020, 05:21 AM
RE: Problem comparing two values - by pyzyx3qwerty - Jun-13-2020, 07:56 AM
RE: Problem comparing two values - by card51shor - Jun-13-2020, 04:36 PM
RE: Problem comparing two values - by Yoriz - Jun-13-2020, 05:00 PM
RE: Problem comparing two values - by card51shor - Jun-13-2020, 05:13 PM
RE: Problem comparing two values - by Yoriz - Jun-13-2020, 05:19 PM
RE: Problem comparing two values - by card51shor - Jun-13-2020, 05:22 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  applying total in a loop to a list JustinxFFx 1 2,304 Feb-11-2018, 03:14 AM
Last Post: nilamo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020