G
Guest
Hello experts,
I'm designing a simple database for a small billard business and I'm having
some problems with controls on forms. here's a little brief:
* Two tables [Tickets] & [Tables]
[Tickets table fields]
-Ticket#
-TimeIN
-TimeOUT
-AmountPaid
-Status
I've created a form for the tickets and added two COMMAND BUTTONS:
(Start Table)
(Close Table)
By default the two buttons must be disabled
When I select a table from the drop down list the following happens:
1- Enable (start table).
Next, if I click (start table):
1- Stamp the [TimeIN] with Now
2- Enable the (close table) button
3- Change [Status] to Busy
4- Disable itself {You can only start a table once}
Next, I click the (close table happens):
1- Stamp the [TimeOUT] with Now
2- Disable the
drop down {you can't change a table after the sale
was closed}
3- Change [Status] to Closed
4- Run a Query
Now to the problem, Enabling/Disabling worked fine but it's carried to ALL
records!because thesecontrols belong to the forms not the records.
How can I tie the controls to the records?
My coding experience is very basic.
Thank you!
I'm designing a simple database for a small billard business and I'm having
some problems with controls on forms. here's a little brief:
* Two tables [Tickets] & [Tables]
[Tickets table fields]
-Ticket#
-TimeIN
-TimeOUT
-AmountPaid
-Status
I've created a form for the tickets and added two COMMAND BUTTONS:
(Start Table)
(Close Table)
By default the two buttons must be disabled
When I select a table from the drop down list the following happens:
1- Enable (start table).
Next, if I click (start table):
1- Stamp the [TimeIN] with Now
2- Enable the (close table) button
3- Change [Status] to Busy
4- Disable itself {You can only start a table once}
Next, I click the (close table happens):
1- Stamp the [TimeOUT] with Now
2- Disable the
was closed}
3- Change [Status] to Closed
4- Run a Query
Now to the problem, Enabling/Disabling worked fine but it's carried to ALL
records!because thesecontrols belong to the forms not the records.
How can I tie the controls to the records?
My coding experience is very basic.
Thank you!