Traditional Culture Encyclopedia - Hotel reservation - I want to make a hotel management system, and I have many questions. Ask me something, ask two first.
I want to make a hotel management system, and I have many questions. Ask me something, ask two first.
The first question: If you want to verify the account, you must have a USERNAME table, which stores the user code (USERID), user name (username), user password, authority and other information. It is suggested to replace the control of TEXT 1 with the control of COMBO 1, and the data source of COMBO 1 should be bound with the user name or user code information of the user name table. In this way, when the user is selected, the record pointer cursor will automatically move in the data table. As long as the characters of TEXT2 control completely match the user password string in the user name table ("= ="), subsequent operations are allowed; If they do not match, subsequent operations are not allowed.
The second question: from the description of your question, it is not very clear. If form2 is another form file, then your code is wrong. The correct code should be "DO FORM form2.scx". Of course, the file extension can still be omitted. If form 1 and form2 belong to the same form set, you cannot execute the DO FORM command to display form2. The correct way is to hide form2 at design time, and write code on the "Enter" button to activate the display of form2 forms, such as "thisform.parent.form2.show".
- Previous article:Project introduction of Xiangshan¡¤Fujiuyuan
- Next article:Can the lock cylinder be replaced in a fingerprint password lock? How to change?
- Related articles
- At what level can you order the sixth Qian Yuan Pill in Fantasy Westward Journey?
- Home Inn, the history of hotels
- How to get to No. 192, Xinfeng North Road, Huaxin Town, where is the Vienna Hotel?
- Is Wuhan Anhua Hotel ktv fun?
- Where is Yihua Haiyi Bay in Zhanjiang?
- How to adjust the rubber-tyred presser foot to eat cloth?
- Excuse me, what should smokers do in Singapore smoke-free hotels for help! !
- How to get to Dai Folk Customs Park from Jinghong
- Should I pay for the broken refrigerator door in the hotel?
- Bitter and inspirational entrepreneurial history