RichardFong
Registered User.
- Local time
- Today, 19:31
- Joined
- Apr 13, 2003
- Messages
- 19
I am REALLY sorry for posting this here, rather than another area, but i am against a deadline and I am desperate for assistance.
I thought i had found the answer to a problem posted about creating a message box where the user has an option to continue, for example 'Are you sure you want to quit' and the user could selct ok or cancel. I was unable to get this to work at all.
I also have a second problem in my booking system, becuase i have a table names 'date_tbl' containing a 'date_id' field, 'date' field, and an 'unavailable' field. The unavailable field is simply a yes/no checkbox, so certain dates can be selected as unavailable. I have created a form where the user can create a new booking, and the form shows the unavailable tickbox so the user can see whether it is avaiable or not. I wanted an error message to appear when the user clicked the command button to save the booking though.
The only information i could find on this topic on the forum is shown below, but i was unsure how apply it to my database.
Thanks a lot for the help
Richard Fong
I thought i had found the answer to a problem posted about creating a message box where the user has an option to continue, for example 'Are you sure you want to quit' and the user could selct ok or cancel. I was unable to get this to work at all.
I also have a second problem in my booking system, becuase i have a table names 'date_tbl' containing a 'date_id' field, 'date' field, and an 'unavailable' field. The unavailable field is simply a yes/no checkbox, so certain dates can be selected as unavailable. I have created a form where the user can create a new booking, and the form shows the unavailable tickbox so the user can see whether it is avaiable or not. I wanted an error message to appear when the user clicked the command button to save the booking though.
The only information i could find on this topic on the forum is shown below, but i was unsure how apply it to my database.
Basically in the CONDITION of a macro, have it use Dlookup and pull the Qty On Hand left on the item, and if it is less than 5 do a msgbox command.
Forms!Form1![ItemNo] contains the item number for this example
Dlookup("OHQty","ItemTable","ItemNumber = " & Forms!Form1![ItemNo]) < 5
Would be in the Condition, the statment would be MsgBox
Something like this any way.
Thanks a lot for the help
Richard Fong