Search results

  1. S

    Search Box- Query Criteria

    Hello- I need help tweaking this criteria. I have a form with a combo box with 3 options. Once the user has selected this parameter, they proceed to enter text in the search box and click a search button. I also have a list box displaying results. Obviosuly the query behind the list box is...
  2. S

    Export to Excel

    I know how to export a query to a new Excel Wkbk via vba, but does anyone know how I can easily insert the new sheet directly into an existing workbook?
  3. S

    debug.print

    Works like a charm - Thanks!
  4. S

    debug.print

    Awesome! Let me try this out. I already have the email code going and just need to be able to insert this into the .body portion. Thanks again!
  5. S

    debug.print

    Thanks Bob, So, I guess my question is how do I do that? My function uses a loop For x = 1 To y Debug.Print Forms!FRM_TransactionDetailsEdit!PricingList.Column(2, x - 1) & " yrs, " & Format(Forms!FRM_TransactionDetailsEdit!PricingList.Column(9, x - 1), "#.00%") Next Which...
  6. S

    debug.print

    Gentlemen, When I use a function which contains debug.print in the Immediate Window it produces a string of characters i.e. 3 yrs, 1.15% 5 yrs, 1.65% How I translate this to a message box? Or even one step further into the body of an email via my .body = [some vba code]. Please advise...
  7. S

    Declaring Variables

    An easier way of asking might be to say: How can I take what is displayed in a list box and insert it into the body of an email?
  8. S

    Declaring Variables

    When all else fails there is always Access World.... So, I have a ListBox that returns a different number of instances depending on which "account" I am working on. Example: Tenor Spread COF 5 1.58% 2.15% 7 2.81% 2.74% 10 2.57% 3.33% It could be anywhere...
  9. S

    File Not Found Error

    Actually, Access wouldn't allow me to go into any of my forms, reports, queries, etc. It gave me the error and then took me to the VBA but didn't highlight a specific file that it couldn't find. I think I'm back on track now though. I found an old version that I had emailed a week ago and...
  10. S

    File Not Found Error

    My database was working fine until this morning I started receiving a 'File Not Found' error when attempting to access various forms. I am assuming that there is some corruption going on and I might be able to resolve this by transfering everything to a new shell. Is there an easy way to do...
  11. S

    Insert into

    Nm- just a simple syntax error. It was the single quotes- didn't need them. Thanks again!
  12. S

    Insert into

    Makes sense, thanks! So now I am getting a datatype mismatch in criteria expression: CurrentDb.Execute ("UPDATE PricingList SET WinningBid = '0' WHERE PricingID = '689'") Any ideas?
  13. S

    Insert into

    Any ideas why this: CurrentDb.Execute ("INSERT INTO PricingList (WinningBid) Values(0) Where PricingID = '689'") Returns this: Query input must contain at least one table or query? Is it the '0' value that I am trying to add? I am trying to change the value of a 'Yes/No' box...... Steve
  14. S

    Create Duplicate Record

    Nm, think I just ansered my own question.... just needed to play with it for a minute. Thanks again!
  15. S

    Create Duplicate Record

    Thanks, it does.... I had actually just stumbled on to the 'Append Query' and was going in the direction that you are advising. Now I'm trying to figure out how to point the 'PK' parameter to a specific row; I am assuming PK is what you are calling my auto-number field. Normally I would...
  16. S

    Create Duplicate Record

    SQL Buffs, Is there a way I can copy a record line from a table and paste it in the same table with a new 'autonumber' ID? Manually, its a fairy easy task. I would think there should be a fairly simple SQL statement to accomplish this without have to copy individual fields. Thoughts? Steve
  17. S

    Outlook.SecurityManager

    So far this site has not let me down.... I am attempting to disable MS Outlook security messages temporarily via Access VBA while sending a message. Should I use Outlook.SecurityManager and if so where would I find the vba reference as it is not currently recognizing it. I have the Outlook...
  18. S

    Date Query

    Nevermind- simple fix. Just figured out how to add rows. Thx again for the help! Steve
  19. S

    Date Query

    It works, thanks for the input! I have a new problem now though; I'm out of criteria rows because I had to use double the rows since I am using every other line. Any ideas on how to use more criteria without going through SQL?
  20. S

    Date Query

    I am writing this in the criteria of a query. I have tried the Nz and Is Null functions but no dice. The work for if the search field is null but do not return all of the empty fields in the table. I think it will work in the IIF statement if I can get the sytax right.
Back
Top Bottom