Search results

  1. P

    Relevant data not cascading through

    As part of my data structure I have a Fault table, Transaction table & Resolver table. The Resolver's are dependant on the Transaction that are selected in the fault table. What I am after (and it's not happening) is when selecting a Transaction in the Fault table the only resolver that is...
  2. P

    Wildcard search funtionality

    Thanks for the response. I am understanding the logic behind the code and the critieria entry, however, do i use both the code and the criteria in the query grid? What I want to happen is the following: I want the code to execute on an exit event of a text box, so I want the user to be able to...
  3. P

    Wildcard search funtionality

    I am working on a form that will be used to search records in a table. I have created the query shown below: SELECT tblSTC.STC, * FROM tblSTC WHERE (((tblSTC.STC) Like forms!frmsearch!txtsearch)); I want my user to be able to enter search criteria and allow the use of a wildcard. When i run...
  4. P

    MS Access Wildcard Search Query

    I have worked out that the following query should do the job, however it doesn't: SELECT tblSTC.STC, * FROM tblSTC WHERE (((tblSTC.STC) Like forms!frmsearch!txtsearch)); This produces no results ??
  5. P

    MS Access Wildcard Search Query

    This is what I want to do however do not really understand the response. I need to be able to search a table based on the value entered into a text box. However similer to the above problem and need the results to be limited. I have a table with only one field with records that appear like this...
  6. P

    Database to count how many records to create

    Code stops Access responding. I have now declared the varible. When the code is executed it appears at first glance to work (no error msg's are displayed) however Access stop's responding and I have to 'End Task' to recover. I have tested it on other machines so it's not machine specifc. Has...
  7. P

    Insert Into

    This one is seriously confusing me - I am using the following code to append a table in my db. The user enters a number into a text box and the code is designed to append records to the table based on the figure entered. The code doesn't produce any errors when executed however each time Access...
  8. P

    Database to count how many records to create

    Stressed I'm struggling with this code. Can somebody tell me where I have gone wrong incorprating the code. Private Sub cmdSubmit_Click() Dim a, b As Integer Dim strsql As String If IsNull([cboTeam]) Or IsNull([cboName]) Or IsNull([cboActivity]) Then MsgBox "You have not selected...
  9. P

    Exporting data to Excel

    I have a number of databases that all export data to Excel spreadsheets. Using the following: DoCmd.OutputTo acOutputTable, "tblFault", acFormatXLS, "G:\\FaultLogReport.xls" Application.FollowHyperlink "G:\FaultLogReport.xls" What i want are the individual databases to export and update the...
  10. P

    Database to count how many records to create

    I have a form which a user selects an activity from a combo box. On some occasions a user may need to enter the same activity a number of times. I want to add a text box/combo box that a user can enter or select a number. When the user hits the submit button i want the records created in the...
  11. P

    A simple one.....

    :confused: I have a logon form which works well and authenticates users via a table. The problem is when the form is loaded the user has to click into the text box to type their name. I want a cursor to be flashing in the text box when the form opens so the user can type their name straight away...
  12. P

    Open previous form from current form sub form

    Brilliant that works but..... That's great it works now however....The field that the user double clicks to display the record is now populated with ##name? rather than the fault ref. I can't seem to work out how to get it to display the ref no
  13. P

    Open previous form from current form sub form

    No, im using an Autonumber in the field. I have tried the code though however i still can't get it to work.
  14. P

    Open previous form from current form sub form

    sorry i didn't attach the .mdb, here it is. You will have to launch the database whilst the shift key is pressed down. Many thank
  15. P

    Open previous form from current form sub form

    hey, im using Access 2002
  16. P

    Open previous form from current form sub form

    Compile error msg Hi, thanks for the advice. I have tried to implement the code however, when i click on the field to execute the on click event i receive the following compile error msg: User defined type not defined. I get the error on the first line of the code.
  17. P

    Open previous form from current form sub form

    I have a fault form which the user enters details of a fault. When the fault form is submitted the data is saved in the relevant table and the form is cleared so that the user can enter the next fault. On the fault form i have a subform which displays the faults previously entered by the user. I...
  18. P

    Only one record shown in sub form

    that worked fine, thanks
  19. P

    Open record from sub form

    I have a form with a sub form. The form allows users to enter data into the database and the subform displays all records in the database. I want users to be able to click on one of the records displayed in the subform and that record to display on the form in the format it was entered.
  20. P

    Auto number not displaying number

    No it's not changing. It just displays: Auto Number
Back
Top Bottom