Function requiring user input

Function requiring user input

Hi,

I want to create a function that does two things:

1. Updates two field values automatically
2. Asks users to specify values for two other fields that are required.

At the moment, I have the following function that updates the two field values automatically:

  1. void global_variables.Mark_Paid(int recID)
  2. {
  3.     thisRec  =  Expensives_Specials_Order_Form  [ID == input.recID];
  4.     if (thisRec.Status  ==  "Ordered from supplier")
  5.     {
  6.         thisRec.Status = "Received without invoice";
  7.     }
  8. }

I want the user to be able to specify values for the fields Batch Number (Single Line Value in form) and Expiry date (Date only field in form).

Your help would be most appreciated.

Shaheed