Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - How to use pb search function?
How to use pb search function?
To find a column named xm:

Then define the variable: string ls_xm // define the name variable long ll_row // and return the line number that meets the conditions.

If it is a numeric column, you need to convert:

Add xm as long integer: long ll_xm// Define the name variable long ll_row // and return the line number that meets the conditions.

Specific usage and parameters of messagebox in pb;

The complete writing is MessageBox ('title',' content', icon, button, default value), where the title and content are strings to be displayed and cannot be omitted?

Optional value of icon: information! Or a stop sign! Still sigh! Still questioning! Or not! ?

Optional value of key: OK! Or OKCancel! Or YesNo! Or YesNoCancel! Or RetryCancel! Or AbortRetryIgnore! ?

The default value is optional: 1 or 2 or 3. Basic writing example: MessageBox ('prompt information',' this is an information box!' )?

Complete writing example: If the MessageBox ('prompt information',' data has been modified. Do you want to keep it? & question! ,YesNo! , 1) = 1 So MessageBox ('Prompt information',' You chose to save information')?

Else MessageBox ('prompt message',' you choose not to save the message')?

If ... it will be over.