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 TouchToneTommy 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: *

  1. BugZap13

    Automatic date completion

    In the date field you can intercept the key that has been pressed in the keypress event. For instance you can check for a "T" or a "t" being pressed and set the value to DATE(). Similarly, you can catch the keypress and if the "+" or "-" keys are pressed you can add or subtract a day from the...
  2. BugZap13

    POTS / Modem replacement

    I currently have 4 POTS lines hooked to a Dialogic 4 port modem. The setup is used for employees to clock in/out. Software running on a PC answers the call and prompts the caller for their employee number, etc. The POTS lines are supplied by the Cable company (COX) and are getting more...
  3. BugZap13

    I need help with a compile error

    Thank you Chris and Mike for your suggestions. The name collision was caused by a poor naming convention on my part. The all caps G_ prefixed names are from #DEFINE statements that correspond to columns in a spreadsheet used as input (example shown below). Unfortunately, the spreadsheet...
  4. BugZap13

    I need help with a compile error

    You hit the nail on the head. That is exactly what was happening. Good catch. Should have realized it was a pre compile directive that was causing the grief. Thanx
  5. BugZap13

    I need help with a compile error

    I am getting a compile error which has me confused. The following are the errors from the compile and stored to the .err file associated with the program. Note the datanames m.12 which does not match the lines in the program. What is odd is that the number portion corresponds to the field...
  6. BugZap13

    Filtered cursor used in SQL Select not honoring original filter

    Chriss I used the underlying cursor of the employee table which was filtered to the selected employer as the driving table in a subsequent select used for the report. Originally I was expecting that the filtered cursor could be used. As you and Tamar pointed out the filtered technique will not...
  7. BugZap13

    Filtered cursor used in SQL Select not honoring original filter

    Thanx for the input Tamar and Chriss. I am going to redo my thinking and set the controlsource of the two combobox's to a public variable and use those values to build the report cursor rather than rely on the underlying cursors used for the combobox's themselves. Again, Thanx for the input...
  8. BugZap13

    Filtered cursor used in SQL Select not honoring original filter

    I have 2 DBF's, Employer and Employee. I create cursors which select the records to be presented in comboboxes on a form. Initially the employer cursor is positioned to a 'All' selection and the employees are not filtered showing all employees in their corresponding comboboxes. When a user...
  9. BugZap13

    Finding MIN() date in column of adjoining worksheet

    Skip thanx for your example. There is more to the problem then was presented and if I were getting the data table from a database I think your solution would be the way to go. One sheet containing the data from all investments and one summary page like you illustrated. Sorry for the confusion...
  10. BugZap13

    Finding MIN() date in column of adjoining worksheet

    Tried that but EXCEL pops up "There's a problem with this formula...." when I add the greater than sign.
  11. BugZap13

    Finding MIN() date in column of adjoining worksheet

    Tried the following wanting the minimum date value from column A but only if the Investment in column B is > 0. 'BP-101' is the sheet name, "A:A" is the "Check Date" column, "B:B" is the "Investment" column. =minfs('BP-101'!A:A,'BP-101'!B:B,0) Couple of problems. Assuming...
  12. BugZap13

    Finding MIN() date in column of adjoining worksheet

    The summary sheet would look something like the following based on the initial data sheet: Invest Date First Payment Last Payment 3/24/2021 8/10/2021 9/25/2021 The column above "Invest Date" is MIN("Check Date") where "Investment" <> 0 The column above "First Payment" is...
  13. BugZap13

    Finding MIN() date in column of adjoining worksheet

    I have a spreadsheet with a summary worksheet with subsequent data worksheets for various investments, 1 sheet for each investment. On the summary sheet I am trying to find the MIN() date of a column on the data sheet but only if a cell next to the date has a value. Below is a sample of the...
  14. BugZap13

    How to extract Access table schema with decimal places on numeric fields?

    In a VBA module within an Access database I am trying to create a query which needs the schema information for a table. I can get the field names, type and size but cannot get the decimal places for the various numeric types. Anyone have a clue how to get the field properties as seen in design...
  15. BugZap13

    How to extract Access table schema with decimal places on numeric fields?

    In a VBA module within an Access database I am trying to create a query which needs the schema information for a table. I can get the field names, type and size but cannot get the decimal places for the various numeric types. Anyone have a clue how to get the field properties as seen in design...
  16. BugZap13

    Using a constant in a join statement

    Andy your query works fine. So I started playing around with the query now that I am done with the task at hand and get more confused as I go. So I throw a twist at you again. The following works: SELECT Parm_Type, Parm_Code, Parm_Description FROM [Parameters] WHERE...
  17. BugZap13

    Using a constant in a join statement

    In an attempt to simplify my question I changed the table names and so on so the query made more sense. The underlining problem turned out to be the use of the reserved word "Parameters". In my examples above the actual table name is "Parameters", not "ParmTable" as shown in my examples. Had...
  18. BugZap13

    Using a constant in a join statement

    Single vs. double quotes made no difference. I use single quotes in other parts of queries without a problem, but I did give it a try. Does Access allow for a subquery as in: Select Members.StateCode, (SELECT Parm_Desc FROM Parmtable WHERE Parm_Type='States' AND Parm_Code=Members.StateCode)...
  19. BugZap13

    Using a constant in a join statement

    I spoke too soon. Adding the WHERE Parm_Type = 'States' gives me a "Syntax error in query expression..."
  20. BugZap13

    Using a constant in a join statement

    Andy, this is being used in the query builder not in code. Duane, I am sure that will work. I am used to MS SQL and this threw me and I assumed there was an easy way that I was not picking up on. Thanx, Mark

Part and Inventory Search

Back
Top