Combination Inquiry--computer room fee System __ Computer room Toll system

Source: Internet
Author: User

The computer room fee system Drag and finish, I will make a small summary of the combination of query (according to the statistics 4 forms need to be implemented by combining query statements).

Say the operating room fee system v1.0_ Hu Yang (Modify version 8.13) program, very helpless said I really will not use


field name, operator, query content, the combination of relations, in the end what is the connection, how the operator is equal to, greater than, less than, not equal to, or and and what ... Hurrying feet is very complex, I can not use, where to talk about the implementation of the function?

Defeat oneself is not others, often is oneself of

The logical relationship in the combinatorial query clear ... In fact, that's what it is ———— right ...

One of the following is my understanding of the combination of query module, example: On the computer student information inquiry

1, the first layer to query

Determines whether the field name is empty, determines whether the operator is empty, and determines whether the lookup content is empty

2, the second layer to query

when the combo relationship box is not empty, the next level is queried according to the composition relationship

3, the third level to query

The first two-layer relationship is clear and can be implemented correctly, the third layer is so easy LA (code does not show)

Supplemental Note: String conversion functions are customized in the class module.

Public Function changestring (Strfields As String) as String

If Strfields = "card number" Then

Changestring= "Cardno"

Exit Function

End If

............


————— This article out of personal opinion, to be perfected, if there is a coincidence is purely coincidental —————

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.