charliemopps
Registered User.
- Local time
- Today, 11:35
- Joined
- Feb 24, 2009
- Messages
- 40
the long and short of it:
I have 2 tables:
tbl_Tickets
tbl_Updates
They are linked via a common field, ticket number
in the tbl_Updates I have
Ticekt number
USRID
Working
TimeStamp
I want that when a user opens a ticket in tbl_Tickets (via a button) it creates a new record in tbl_Updates with the same ticket number as tbl_tickets and stampts the USRID and Now() into 'Working'
A querry will prevent other users from picking up this record while they work it. (until a certain time frame has passed)
Then, when they complete it, they click a different button and it stamps 'Timestamp'.
I have no idea how to use VB to create new record in different table.
Can anyone point me to an example of how this is done?
Thanks!
I have 2 tables:
tbl_Tickets
tbl_Updates
They are linked via a common field, ticket number
in the tbl_Updates I have
Ticekt number
USRID
Working
TimeStamp
I want that when a user opens a ticket in tbl_Tickets (via a button) it creates a new record in tbl_Updates with the same ticket number as tbl_tickets and stampts the USRID and Now() into 'Working'
A querry will prevent other users from picking up this record while they work it. (until a certain time frame has passed)
Then, when they complete it, they click a different button and it stamps 'Timestamp'.
I have no idea how to use VB to create new record in different table.
Can anyone point me to an example of how this is done?
Thanks!