Search results

  1. sfreeman@co.mer

    IIF function paired with Between...And

    like this?? Assuming that you have a form that is based upon a table named tblPrice, with a field named Price [currency], and another field named Check [yes/no] SELECT tblPrice.Price FROM tblPrice WHERE (((tblPrice.Price) Between [Please enter min price] And [Please enter...
  2. sfreeman@co.mer

    How do I make a condition case insensitive

    Suggestion: Do not use the open form to filter the records. Go ahead and open the form. If load times are an issue, open it displaying no records. Then, on the form, have your alpha buttons a-z to filter your records. The best example I've seen on this is in the Northwind db, on the...
  3. sfreeman@co.mer

    Different User

    In Access? Windows? More info please.
  4. sfreeman@co.mer

    Export: Error 3190 - "Too Many Fields Defined"

    Are you trying to query more than 255 fields? If so, STOP IT! ;) Are you trying to 'update' query more than 127 fields? If so, STOP IT! ;) If not, Access may 'think' you are. Try a Compact and Repair. Also, are your fields 'too full'? There is a character limit per record. If...
  5. sfreeman@co.mer

    DMax on a text field - way to treat numbers uniquely from text?

    You are welcome. We all started somewhere, and despite what you might think from the attitudes of a few, NONE of us knows it all. Happy coding. ;)
  6. sfreeman@co.mer

    DMax on a text field - way to treat numbers uniquely from text?

    OK. SELECT Val([Field1]) AS Field FROM tblNumberText ORDER BY Val([Field1]);
  7. sfreeman@co.mer

    The Openreport action was canceled error

    OK. One last shot. This may be a printer issue. When you say you installed an Epson printer, are you sure that you installed the proper drivers? Maybe try a re-install. Have you set the new printer as the default printer. Is the printer setup in Access as the printer to use? I really think...
  8. sfreeman@co.mer

    DMax on a text field - way to treat numbers uniquely from text?

    Not a problem... Table named tblNumberText with field named Field1... SELECT Max(tblNumberText.Field1) AS MaxOfField1 FROM tblNumberText WHERE (((IsNumeric([Field1]))=-1)); HTH :cool:
  9. sfreeman@co.mer

    The Openreport action was canceled error

    Assuming that you have stepped thru this code and any related code and still cannot find the problem.... Report or query or table upon which the report is based may be corrupt. Try a compact and repair. If still no go, create a new db, and import all objects from original db into the new...
  10. sfreeman@co.mer

    Need help using Multiple Select Statements

    No, EXEC is not functional within the query. The query must be 'called' or executed externally, ie from a command button, opening a form or report, or via VBA.
  11. sfreeman@co.mer

    Need help using Multiple Select Statements

    From the link below: "When developing an Access database using the desktop Microsoft Access application, you are able to create and store queries. These are usually referred to as "Stored Queries", similar to SQL Server's "Stored Procedures", but less powerful. They are only SQL statements, no...
  12. sfreeman@co.mer

    A recordset cannot be updated

    Sorry if this is not much help, but really it seems that you need to get a basic understanding of table relationships in general and query design. Take a look... http://www.fmsinc.com/tpapers/queries/ HTH
  13. sfreeman@co.mer

    Insert Variable Into a Query

    Pretty simple. Just a dd a new field... call it whatever you want, then the data that will fill that field. Then insert the prompt just the same way you would for any other field. This example is totally meaningless, but should illustrate... SELECT tblMain.RecNo , Now() AS NewField FROM...
  14. sfreeman@co.mer

    Grouping items together to maintain one total on a query

    Easy mistake, you select the Totals query via the toolbar button that looks like a greek symbol for 'E'. Just hold your mouse pointer over the symbol and it should read 'Totals'. That will add a Total criteria to you query designer, and you select the fields that you wish to group by. Here it...
  15. sfreeman@co.mer

    Grouping items together to maintain one total on a query

    Should be easy. Just use a 'totals' query,select your groupby fields, and set the totals field to sum your QTY field. Something like: SELECT tblHCPCS.HCPCS , Sum(tblHCPCS.Qty) AS SumOfQty FROM tblHCPCS GROUP BY tblHCPCS.HCPCS; HTH :cool:
  16. sfreeman@co.mer

    Does this look okay

    Creating a query with your SQL works fine for one cbo on one form, but only if you delete the first and last brackets. Not sure if it is different in a multiple cbo situation.
  17. sfreeman@co.mer

    Emailing a Form?

    Forms are not designed for that sort of thing. You may want to try to create a report that looks like the form, and then e-mail the report.
  18. sfreeman@co.mer

    Inserting Records?

    Yes, No, Maybe Yes, As long as your query is updateable. Check the Access Help File, and search "When can I update data from a query?" :cool:
  19. sfreeman@co.mer

    Report to Excel. Help Please

    Follow this link. Sorry I can't be more help. http://www.access-programmers.co.uk/forums/showthread.php?t=22255&goto=nextoldest
Back
Top Bottom