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: Harr777
  • Order by date
  1. Harr777

    Query that finds displays records items with missing data

    I'm trying to produce a query the will display a list of records of items that do not have a certain value in a connected table. The SQL Code should be something like: SELECT tblAssets.SerialNum, tblMeterReads.ReadPeriod FROM tblMeterReads INNER JOIN tblAssets ON tblMeterReads.SerialNumber =...
  2. Harr777

    Ordering Combo Box in Alphbetical Order

    I got it, in the query design view I set the sort property to Ascending. It saved fine. Thanks.
  3. Harr777

    Ordering Combo Box in Alphbetical Order

    I got that far, but I can't get it to produce the list in alph. order. Went into datasheet view, ordered the column (from a-z) and saved the changes...doesn't work. When I open form it doesn't relfect the changes. Maybe in I change the SQL code itself. Here is the SQL code; SELECT...
  4. Harr777

    Ordering Combo Box in Alphbetical Order

    I can't figure out how to get the items in a drop-down both in alphbatical order. Does anyone now how to do that? Thanks.
  5. Harr777

    Making a bookmark

    Forgive me, because I know that this must be a pathetically easy question for may. For my website, I want to create an icon that when the user clicks on it, bookmarks the website. I want to make sure that, if possible, it works in all browsers. I would like to put in HTML code. Thanks!
  6. Harr777

    Showing results without a joining record

    That was it. I have been creating my queries in Access design view (please do not frawn upon me). I was able to switch to SQL view insert the LEFT JOIN code. Thanks a lot.
  7. Harr777

    Showing results without a joining record

    I have a query that should idealy show all of the results from one table and whatever exist in the other. In other words, not every record in tblOne has a corresponding record in tblTwo. Yet, I need every field in tble need to be listed in the query results. I don't know if there is an answer...
  8. Harr777

    Getting Number of Days

    If put this in query design view: GetNumDays: DateDiff("d",[installDate],#6/30/2004#) and it worked. Thanks, I'm on my way from here.......
  9. Harr777

    Getting Number of Days

    Should be #06/30/2004# I have also tried to do the calculation with just the date 06/30/2004. If fact, for this case it should be something like; GetNumDaysQ2: IIF(InstallDate>03/01/03, 6/30/04-InstallDate, 90) But I need to get a whole number value (total number of days) Thanks in advance
  10. Harr777

    Getting Number of Days

    I need to get the total number of days using a query. This would be something like; GetTimeFrame: [installDate] -#6/30/004# When I try the above, I just get a crazy date. If I try to change the properties of the output field to a number, it limits me to choosing a form of date. Please help!!!!
  11. Harr777

    Opening a form with two filters set with VBA code

    You nailed it, Zion7. That code worked perfectly. The quotation system is still a little confusing to me. I'm going to have to spend some more time trying understand it better. Thanks
  12. Harr777

    Opening a form with two filters set with VBA code

    SerialNumber is text and ReadPeriod is a number. Should this have a bearing on the code? As always- Thanks alot
  13. Harr777

    Opening a form with two filters set with VBA code

    I tried this code: stLinkCriteria = "[SerialNumber]='" & Me![cboEditMeterRead] & "' And [ReadPeriod] = '" & Me![cboReadPeriod] & "'" When I click on the button that runs this code (which should open a new form with the applied filters) I get an "Open Form Action was Cancelled" message. I...
  14. Harr777

    Opening a form with two filters set with VBA code

    I've been trying to get more than one filter for a form that opens with two primary key values. I need the new form to open with the two values coresponding to two combo boxes on the first form. Tried the above sugestion, but I am getting nowhere fast. Can anyone help?
  15. Harr777

    Report width stuck at 13"

    Greetings, I'm working on a report that needs to extend to its width length of 22". I'm trying to set up a report that is book style. I can't get the report to show more that 13" in print preview. Please help!
  16. Harr777

    Save record from another form

    Roy, Sorry, x that question out. I figured out what was happening. Thanks anyway
  17. Harr777

    Save record from another form

    Roy, Thank for you input. One last thing that I'm having a problem with. In the code of Form A I have this code and it works: Forms!frmMeterReads.txtValid = "True" And I have this code and it doesn't work: Forms!frmMeterReads.MonthlyTotalDig = Me!DigMT I can't figure it out. One thing is is...
  18. Harr777

    Save record from another form

    Roy, The problem is the refesh will not save the record and start a new one in the other form. When I run the code that I posted I get an object error. I don't know why it doesn't work.
  19. Harr777

    Saving a record form another form

    Greetings, I am trying to write VBA code that would save the record that is currently in another From. I tried this: Forms!frmMeterReads.DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70 Forms!frmMeterReads.DoCmd.GoToRecord , , acNewRec But I get an error when I execute...

Part and Inventory Search

Back
Top