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 SkipVought 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. rickyoswald

    Multi-table Query Criteria

    Basically the code does what I want it to do provided there is only the one table involved in the query. If a second or third table is introduced, I get no error, it simply stops executing the code. I am totally stumped by this. I will tell my DB guy to check his naming criteria :)
  2. rickyoswald

    Report width limit?

    Typical MS.
  3. rickyoswald

    Multi-table Query Criteria

    I have three tables; tblQryID, tblClients and tblCases. tblClients holds client info and tblCases holds case information while tblQryID holds a string from a VB app. There is a report called rptClientCases which holds information from the tables tblClients and tblCases, these are connected as...
  4. rickyoswald

    Report width limit?

    I am not sure what units it is measured in but in Access 2003 I can only stretch it out to '56', which is about two and a half pages in landscape. Is there a way to stretch it further?
  5. rickyoswald

    Multi-table Query Criteria

    I have three tables; tblQryID, tblClients and tblCases. tblClients holds client info and tblCases holds case information while tblQryID holds a string from a VB app. There is a report called rptClientCases which holds information from the tables tblClients and tblCases, these are connected as...
  6. rickyoswald

    Multi-table Query Criteria

    The criteria works if the query only contains data from one table. If there is more than one table it ceases to work. Why is this?
  7. rickyoswald

    Date listing: too many dates!

    I moved all the relevant fields from the different tables into one large table, then sorted this by date. Thanks anyway.
  8. rickyoswald

    Multi-table Query Criteria

    I am using the same criteria on several queries; (SELECT[Field]FROM[Table]) Where the Field is ID and the Table is tblQryID. A Visual Basic application sends data into the field then any records in the query whos field with the criteria does not match that of the on the criteria points to...
  9. rickyoswald

    Date listing: too many dates!

    I have several actions and the times they were carried out stored on several tables. I need to list all actions in a report ordered by date, my problem being there are several date fields relating to only their own table. What I need is to have one list of dates which for each day can call up...
  10. rickyoswald

    Query criteria from table

    It does work. Here it is again: To set the criteria of a query to that of the data in a field on a table simply enter the criteria as; (SELECT[Field]FROM[Table])
  11. rickyoswald

    Query criteria from table

    Possibly (SELECT [FIELD] FROM [TABLE]) I'll get my DB man to try it and tell you if it works!
  12. rickyoswald

    Query criteria from table

    How do I set the Criteria of a Query to that of text in a field on a table? The MSDN has suggested; In("Canada", "UK") For a ShipCountry field, orders shipped to Canada or the UK In(France, Germany, Japan) For a CountryName field, employees living in France or Germany or Japan Which to me...
  13. rickyoswald

    Using a field in a table as criteria for a query

    Thanks again Mark. My friend used my account to make this post, he has fixed the problem but (unfortunately) says he dosen't know what your talking about! Don't worry, I think it's just him ;)
  14. rickyoswald

    ListView display problems

    Coincidently I already have a first column which is blank and hidden away. This is beacuase the first column cannot have text aligned in the center!
  15. rickyoswald

    ListView display problems

    Did you miss out i = i + 1 on purpose?
  16. rickyoswald

    Using a field in a table as criteria for a query

    The table with the criteria contains just one row and one field. I need to use the value in that field as the criteria in my query.
  17. rickyoswald

    Using a field in a table as criteria for a query

    I have a query set up that needs to get a criteria value from a field in another table. So far I have tried writing the criteria as: =[table]![Field] The query asks for the parameter so it's not reading the value in the field. I really have no idea how to set that up, is there a way of...
  18. rickyoswald

    ListView display problems

    Does VB code actually run sequentially? It appears to process a block of code (inside a loop or with etc) then return values to the begining of the loop, execute them then move to the next block. This means my loop at the END of my with statment is effecting the begining of the block of code!
  19. rickyoswald

    ListView display problems

    It is actually the last one that is not being displayed (the last record). I also pasted the wrong loop, the main one is: Do While i < .RecordCount '+ 1 frmMain.lstMainContacts.ListItems.Add i frmMain.lstMainContacts.ListItems(i).SubItems(1) = ![Surname]...
  20. rickyoswald

    ListView display problems

    I have a ListView control that is being populated via a loop from a database. The loop is quite straightforward: .MoveFirst i = 1 Do While i < .RecordCount frmMain.lstMainContacts.ListItems(i).SubItems(4) = !_[Phone] .MoveNext i = i + 1 Loop This works okay except the first record...

Part and Inventory Search

Back
Top