troubleshooting Question

how can i get the last stored DateTime then use it inside my code

Avatar of badr s
badr s asked on
DatabasesVisual Basic.NET
7 Comments2 Solutions42 ViewsLast Modified:
hello everyone
im working on VB.Net Mysql database type

i have table name (visits) with DateTime field (sdat) i use it to store discharged patients
and another DateTime field (edat) i use it to store patients attendance
so in my Aplication I have a status of the patient still admitted inside the hospital or discharged
my Idea to do that is by having a condition for example only
( if edat is >= Date.Now) then admistion.Visible = True

how can i get the last stored DateTime in (edat)  for the patients which is for Discharges and then use it inside my code what is the best way to use

thank you in advance
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 7 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros