473,398 Members | 2,380 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Membership database - need to update usage with Check In button

I am creating a database form so employees at our community pool can check in season pool pass holders. Essentially I have it set up so they search for the member by phone number or name. I want to have it st up so they click a button that says check in, and that would create another table/log on the memberID checking in and the date and time stamps. I've done some research, but I'm still a little foggy on how to do this.
Jun 2 '16 #1
1 824
PhilOfWalton
1,430 Expert 1GB
You've got the guts of it correctly.
Lets call the new table
Expand|Select|Wrap|Line Numbers
  1. TblVisits
  2.     VisitID      AutoNumber   PK
  3.     MemberID     Long
  4.     DateTimeIn   Date
  5.     DateTimeOut  Date
  6.  
That is assuming there is both an In & Out time wanted.

Things are quite different if the Out time is used, because, if only an In time is used, we need to devise a method of ensuring that the same person isn't logged in twice, a few minutes apart. If the Out time is used, then we can perform a check that members have to be out before they are logged in and equally they have to be in before they are logged out.

The table design may need modifying, depending on which option you choose

Phil
Jun 2 '16 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Mark | last post by:
Hello, I have a need to add a button column to a datagtrid, below is my code and although it does not produce an error, it also does not work, any help? I'm hoping that I can capture the button...
0
by: Diffident | last post by:
Hello All, I have an asp:button and I have tied an eventhandler to this button's click event which means that the eventhandler should be executed everytime I click the button. But to my...
1
by: Keith | last post by:
If I understand correctly, the SQL script called "InstallMembership.sql" can be used to create a membership database that exists in the instance of SQL Server 2005 used for my main application....
0
by: anwarulhuq | last post by:
I have placed Edit-Update-Cancel Link button from Properties builder of the Data Grid. Its working but the problem what im facing is.. It doesnt work till i click for two times. Link button should...
3
by: netsecsvc | last post by:
I have a customer who would like to set an expiration date on user accounts to 30 days. I'm using Asp.net 2.0 (VS 2005) with the default membership database and forms authentication. How do I...
4
by: AC | last post by:
Hi there. My asp.net 2.0 development website uses roles to control access to sections of my site, configured using the asp.net configuration tool, which is great. Except that isn't available once...
2
by: edsbernardino | last post by:
Hi everyone, i'm quite new to this forum. My dilemma goes like this..I wanted a program that will have 1 entry at a time and saved in a database. but the database will automatically calculate the...
4
by: anonymous | last post by:
Hey! Im trying to use an update and continue button on a form without any javascript. so first just like a shopping cart where user update their cart so they can see the totals and then...
1
by: Ragabash | last post by:
I have a problem about updating the old database. I sell a project to a company with old database but I can't update its database. I want a sql code that find the differences between the old end the...
13
by: wireshark | last post by:
hi again... :) please help me,how to make a check button,so the user can check which one to delete...and how to implement it with "delete" selected check button? <? ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.