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 Chris Miller 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. 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
  2. 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
  3. 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...
  4. 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
  5. 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...
  6. 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...
  7. 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
  8. 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
  9. 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...
  10. 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...
  11. 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
  12. 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...
  13. 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 ()...
  14. telephoto

    Data entry or data view? that is the question

    Greetings all - it's been a while. I have a form designed to show records of a customer's machines. I open the form from another form using an SQL string to show the customer's info required. This has a global variable set as SqlSet2=true. The form on open checks the sqlset and opens to display...
  15. telephoto

    Can I convert .aspx to .htm?

    hi Guthro The situation is "resolved" inas much as I have walked away... Thank you for the input, I was unaware of any group like that. In fact I do have access to the originals, but the conversion I was looking for was in the other direction. T
  16. telephoto

    Error trap if no records in recordset

    why should I have doubted you? For anyone else's benefit the code (inside a for/next loop) now looks like this: If Not rst.BOF Then rst.MoveFirst rst.Edit rst.Fields(1) = txtMachinePhone rst.Update...
  17. telephoto

    Error trap if no records in recordset

    Hello MajP Tried it in various positions for some time, then the penny dropped. The table will only ever have one entry, so it will always be rst.eof = true Shame, because it seemed so obvious. Do you have any other ideas please? T
  18. telephoto

    Error trap if no records in recordset

    HI (again) I have data to be inserted into record. The record will be in one of two tables. I have the vba to update the table by searching the table and editing the field If the record is not in the second table Access stops at rst.movefirst with an error message. (because no record) How can I...
  19. telephoto

    Can I convert .aspx to .htm?

    Thanks to both. I had a feeling that there should be more to it than I knew, and you have confirmed it. Holds hands up and backs away slowly... Telephoto
  20. telephoto

    Can I convert .aspx to .htm?

    Hi all I know there are some very bright guys out there... I have inherited a website that is totally suffixed with .aspx, something I know nothing about, and which I am informed has been discontinued. From a brief and not thorough test I appear to be able to rename them to .htm and then edit in...

Part and Inventory Search

Back
Top