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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by telephoto

  1. telephoto

    Report waiting for printer before displaying results

    Duane- thanks again. OK, that removed the delay, but what is the permanent answer? delete all printers (3) and reinstall? I wondered if it was some weird MS365 update that threw a wobbly, is this common? Thanks again Telephoto
  2. telephoto

    Report waiting for printer before displaying results

    I have been running a bowls club db for years without problem. I now find I am getting an error message whichever report I call. "Please wait for printer connection or cancel connection" If I click on cancel - surprise - it cancels the request. If I leave it and wait then after some seconds the...
  3. telephoto

    Make second combo box display records dependant on selection from first combo box

    Hi again Duane So simple. The word I did not think of at all was Cascading. The word I can think of now is thanks. for your direct reply, and help in the past, please take another* Telephoto
  4. telephoto

    If...Then routine not recognised when it should be

    Skip Postings crossed. Screenshots were taken at the end of a long day, and you saw one where I had been testing using City Ely (which worked). Club name is City of Ely. Again apologies, in part blame the time difference and a long day which started by taking my daughter for an early train. T
  5. telephoto

    If...Then routine not recognised when it should be

    Andy If that was the case then Ucase() would not work. It did, and was a better workaround, hence your star. Skip Apologies if I am not clear enough, or frustrating, neither is intentional. I have just spent 2 hours trying to get your options to work. Amending it to one table, had I received it...
  6. telephoto

    If...Then routine not recognised when it should be

    Andy Valid point, well explained, I was wise to that. Search variable was set by targetclub = Application.InputBox("Click on team name.", Type:=2) Only ever checks what is on the spreadsheet. Checking City Of Ely =City Of Ely works, Checking City of Ely= City of Ely doesn't work. Telephoto
  7. telephoto

    If...Then routine not recognised when it should be

    Thank you to both, Andy First I tried several debug prints for targetclub throughout the module, all were correct I checked the if/then line step by step using F8 and hovering the cursor. Both sides matched but it stepped directly to endif. Using Ucase is a much simpler work-around than I used...
  8. telephoto

    If...Then routine not recognised when it should be

    Hi guys Background: Every year I receive a schedule of sports matches for the whole division, sorted by date. (This could be anything eg soccer, but is actually bowls) First thing I want to do is make a list of my team's matches. VBA to the rescue. I examine each line of the spreadsheet for my...
  9. telephoto

    Pause vba and select cell as value for variable

    OK, I surrender. :) I tried this over the weekend and it failed, since then I have been a bit tied up, and I just attempted it again. You are both correct - it works exactly as required. Thank you. Telephoto
  10. telephoto

    Pause vba and select cell as value for variable

    Thank you. I have been working with version 2003, but application.inputbox is on 2013 and higher. works as required. Please find star. Not all the club match secretaries will be running 2013/6 does anyone know a way of doing it in 2003? T
  11. telephoto

    Pause vba and select cell as value for variable

    Thank you for your response Combo,unfortunately I am still puzzled. 1. There is no Userform, I copy the worksheet and work on the copy. 2. Using Inputbox, the only way I have used this is as type input, this is how I am using it in the first version: targetclub=Inputbox("Enter club name") What...
  12. telephoto

    Pause vba and select cell as value for variable

    Hi guys, not something I've tried before. Situation: I play a bowls league, several teams in the league, and the organiser produces an excel sheet showing all matches. In order to compile our club's annual handbook I only need our matches. Progress to date: Using vba I copy the current sheet (to...
  13. telephoto

    How to force a switchboard to refresh when closing another form?

    Hi Duane, again! Many thanks, I just copied and pasted everything from Current into On Activate and it works like a charm. Graham
  14. telephoto

    How to force a switchboard to refresh when closing another form?

    I have two tables, tblCustomers and tblMachines, now all machines should belong to a customer (foreign key), but due to a table design oversight some machines are orphans. In order for my client to find these I have inserted a routine at the switchboard "form current" event to check for...
  15. telephoto

    Data entry or data view? that is the question

    Hello to both. Duane, it's been a while - how was Switzerland? I've awarded a star each, between you my problem is solved. Using Docmd.Openform ("frmname",,,,acFormAdd) generates the compile error. I must define "frmName" as a variable, then Docmd.openform stdocname,,,,acFormAdd without ()...

Part and Inventory Search

Back
Top