Recent content by Ben McCall

  1. B

    Merging columns

    I understand the importance of separate fields but I have a specific need to combine several fields to meet the requirements of a merge fax program. I can combine fields in a copy and keep the original "pure". Thanks! Ben McCall
  2. B

    Merging columns

    I am not interested in a form or a report. All I want to do is merge three fields into one field in the table and then delete the three original fields. Thanks! Ben McCall
  3. B

    Merging columns

    Is there any way to merge the contents of three columns in to one column. Title First Name Last Name Mr. & Mrs. Ben McCall to give: Name Mr. & Mrs. Ben McCall Ben McCall
  4. B

    More than one answer to a question

    This is a medical history questionnaire. So ther are no correct or incorrect answers. Ben
  5. B

    More than one answer to a question

    I am working on a questionnaire in Access 97. I have had no difficulty setting up questions with multiple choice answers where only one answer is wanted or fill the blank questions where the "responder" types in an answer. I have been trying to set up a question were more than one answer may be...
  6. B

    Using previous record on form with subforms

    The form is set up so that only one question is on a page. Therefore the answer to each question is a seperate record in "patientanswers" identified by the field "patient_id". If the responder is "patient_id" 5 and clicks on the previous field button on the main form, the subform will show the...
  7. B

    Using previous record on form with subforms

    I have a database in access 97. I have a questionnaire form whose table is “question” which has three fields – “question_id”, “question_no”, and “question”. One subform has a table “answers” which has four fields – “answer_id”, “answer_no” , “question_no and “answer”. The answers are multiple...
  8. B

    Global variable

    Thanks! That solved the problem. Ben McCall
  9. B

    Global variable

    I guess that i did not explain it accurately. Both the form and the subform are open. I then click on a "previous button" which has the code: "Dim pre As Integer pre = 1 DoCmd.GoToRecord , , acPrevious" which sends me to the "if" code above. Ben McCall
  10. B

    Global variable

    I have a database in access 97. I have a main form with two subforms. I want to use a global variable "pre" in the main form and one subform. My understanding was that I could declare it in the main declarations of the main form as follows: Option Compare Database Option Explicit Public pre...
  11. B

    Controlling Do Loop in recordset

    Thanks! That solved my problem. Ben McCall
  12. B

    Controlling Do Loop in recordset

    That still gives me multiple stings - as many as there are records. Ben McCall
  13. B

    Controlling Do Loop in recordset

    The last code above still gives me four strings instead of the one that I would like to have. Ben McCall
  14. B

    Controlling Do Loop in recordset

    I want th report to show this: Record1[formatted answer] & Record1[answer] & “. “ & Record2[formatted answer] & Record2[answer] & “. “ & Record3[formatted answer] & Record3[answer] & “. “& Record4[formatted answer] & Record4[answer] & “. “ I get this but I get four copies of it. I would like...
  15. B

    Controlling Do Loop in recordset

    I have a database in access 97. I have one table – “report” which contains two fields – “formatted answer” and “answer” in each record. I want to have a report that concatenates these fields sequentially on a line: [formatted answer] & “ “ & [answer] for each record with a space between each...
Back
Top Bottom