Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Sadukar
  • Content: Threads
  • Order by date
  1. Sadukar

    Setting listboxes (easy question)

    Hi all, I havent messed around in access in a while and I think I am bit rusty. Anyway, I have a button that filters a list box. This is fine to do except when I have to do it from another form. For Example: Dim strDept As String Dim lst As ListBox Set lst = Form.frmMain.List22 (problem)...
  2. Sadukar

    subform filter problem

    Hi all, Main form and Subform data is taken from the same table. The subform is a grid used as an index for the main form in the same window. I have a number of filters which I want to filter the subform and Main form. When I select a record in the subform, I want to go to that record in the...
  3. Sadukar

    subform filter problem

    Hi all, Main form and Subform data is taken from the same table. The subform is a grid used as an index for the main form in the same window. I have a number of filters which I want to filter the subform and Main form. When I select a record in the subform, I want to go to that record in the...
  4. Sadukar

    Filter by date

    Hi all, I want to filter a subform by a date. Can someone give me a few pointers. What I want is to filter a date in the format 01/08/03 by the month being 08. Me.subform.Form.Filter = "[Date] = '##/08/##'" Me.subform.Form.FilterOn = True Any sugestions? thanks s.
  5. Sadukar

    Filter Not working

    Can someone tell why this is not working? On a form I have a subform, 2 text boxes and a button. One of the fields in the subform is a date field. I want to filter between 2 dates. this is the code I used for the button. Me.subform.Form.Filter = "[Date] between #" & Text36 & "#...
  6. Sadukar

    Hi all I have a table and the nu

    Hi all I have a table and the numbers are going in and automatically rounding off. IE: If I enter 7.5 it will round up to eight. How do i turn this off. The field properties are set to Long Integer with 2 decmil places. I have messed around a bit but cant find what is wrong. Thanks S.
  7. Sadukar

    Compile database

    Hi all How can I compile a datbase so that it is stand alone? Do I need to add extra tools? For example I want to put a database on a PC that does not have Access. I cant find any results from my search. Maybe I am looking searching for the wrong thing. Can someone point me to a thread...
  8. Sadukar

    Easy - I feel bad asking:)

    I have a goodish idea of VBA but I have ever only worked with it in Access. How do I get the autoexec module to run on start-up in Word. Thanks S.
  9. Sadukar

    VB 6 Program not working in XP

    Hello all. There is a vb6 application used in the company I work with. It works perfect on all machines except winXP pro machines. The developer has not had time to look into this problem but it works fine on his mcahine which also uses WinXP Pro. The Problem is that on some screens when the...
  10. Sadukar

    IF Question

    Hi all this should be an easy one. Bit out of Practice! If subform.Fieldname = "Word" then blah blah blah What is the properway to structure this? Thanks Sadukar
  11. Sadukar

    Excel VBA problem

    I am copying a a range of cells and pasting them depending on a value in a range. For example If a cell contained a "R" then My code would move up one cell and one to the right and copy as far as the end of range. (be5) It would then paste to cells to the right of where "R&quot...
  12. Sadukar

    Bit of Help needed with "Output to Action"

    Hi All, I have an "Output to Action" Macro which outputs query result to a xls spreedsheet. How can I specify to output to a particular sheet in a particular .xls file without copying over the .xls file. thanks S.
  13. Sadukar

    Copy field from Access to Excel

    Hi All I have an Access db. I want to export data from a particular field in a table to excel. For example: I want to place field 4, from record 10, into Cell A1. What code do I need for this? I was thinking something along the lines of: Dim oApp As Object Set oApp =...
  14. Sadukar

    VBA in Excel

    I normally use VBA in Access. I have just started doing a projet in Excel. How do I use VBA in Excel? For example: I want to check if a range from c4:z4 has a value of "1". If yes I want to change the value to 2. If not I want to delete the value in the cell. I tried Command 1...
  15. Sadukar

    Sort Problem.

    Hi all I have 3 different sorts for a subform. They work like this: Me.Subform.Form.OrderBy = "[Type]" Me.OrderByOn = True etc.... My Problem is that when I open the form the sort will not work. If I right click on the subform and do a sort acending/desc etc.. the sort works. Then...
  16. Sadukar

    Filter for 2 values

    Hi All I am trying to filter a form by using 2 different values. I tried: Me.Subform.Form.Filter = "[Interval] = '3M'" Or Me.Subform.Form.Filter = "[Interval] = '2M'" Me.Subform.Form.FilterOn = True Didn't Work. I also tried using And insted of Or. Didn't Work either. Any...
  17. Sadukar

    Too Much Code per button

    Hi All I have a button with a large amount of code attached. It is giving me an error that there is too much. I need all this code. How can I split it up so it will run. I was tried seperating in half and attaching half of it to verification box 1 and the other to verification box 2. Then...
  18. Sadukar

    Total fields by Section

    Hi all How do I total fields in a report depending on there section For Example From a query like this. Section M/CCode Hours Elec M/C1 2 Elec M/C2 1 Meca M/C3 5 Meca M/C4 2 Prod M/C5 3 I want to total the hours by the section. For...
  19. Sadukar

    Change record value

    Hi All, Bit stuck with this. I would appreciate any suggestions. I want to say if txt box1 = yes Then table2, record number 14 has a value of -1. If txtbox.value = "Yes" then What code do I need here?????????? Else End if Note: table2 is not the data source for the form which...
  20. Sadukar

    IF Question

    Hi All, Cant figure this out! If a verification box is checked then I want to ask if "you want to Print again" I want a yes or no, yes being print again and no being end. (Ie yes goes to Else) I need the print code after ELSE so I can print report as normal if they are not checked...

Part and Inventory Search

Back
Top