Search results

  1. S

    Creating table columns with VBA

    Oh, I'll try that, will it import the structure from an excel sheet dump though? Thanx
  2. S

    Creating table columns with VBA

    Thanx for thr reply I'm trying to recreate a database from an Excel dump of a database. So I have the table names and the columns for each of these tables. So I imported this list into a table and I would like to use the records I have in this table to recreate the database from the excel...
  3. S

    Creating table columns with VBA

    Hi Guys I am trying to create columns in a table using VBA. The names of the columns will come from a query that extracts the Column Name from another table. Psuedo Code: input = input.txt -> Select ColumnName from TableA Where TableA.TableName = input -> Feed records into a recordset ->...
  4. S

    Help with database linking

    Hi guys Could some one please help me with coming up for VB code that can check if there are any linked databases, if there is a linked database, it will go ahead and unlink it i.e delete the tables. Thanx guys.
  5. S

    VBA to unlink Access Database

    I want the users to be able to link and unlink tables at will because the databases they are linking to are change every week. These users aren't that tech savvy so if they press the unlink button and the link manager table pops up they'll have a heart attack so it would be ideal for them to...
  6. S

    VBA to unlink Access Database

    I'm developing in Access 2007 for use in 2003, I'll give that a shot but the users might get confused when they see the link table manager
  7. S

    VBA to unlink Access Database

    Thanx for the response, I thought of that but It'll have write the names of all the tables which is a bit tedious, Is there are way I can delete/unlink all the linked tables. mayby create a loop that lists all the names of the tables
  8. S

    VBA to unlink Access Database

    Hi Guys I was just wondering what would be the code to unlink all linked tables in an Access Database. Could someone please help Thanx in advance
  9. S

    Simple select query not retrieving correct results

    Yes but will that affect the results or the sorting?
  10. S

    Simple select query not retrieving correct results

    Hi guys why would a query with multiple criterias pull together with an OR operator failed to return any results which meet any of the creteria conditions> SELECT First(tblProjectDetails.ProjectDetailId) AS FirstOfProjectDetailId, tblProjectDetails.CommittedCosts...
  11. S

    Select Query not returning the correct results

    SELECT tblSuccessfullIncurreds2.Group, tblSuccessfullIncurreds2.PONumber, tblSuccessfullIncurreds2.ItemNumber, tblSuccessfullIncurreds2.CMSFacility, tblSuccessfullIncurreds2.CMSCommodity, tblSuccessfullIncurreds2.CARNumber, tblSuccessfullIncurreds2.IncurredCosts...
  12. S

    Select Query not returning the correct results

    Hi all I'm just having a problem with a select query that is not returning all the results that match the join conditions for two tables. The results that are missing when one condition ie field has not value in both table though the other 2 conditions match. Is this the way access behaves...
  13. S

    Query that generates a new number everytime it updates

    Do I need any modules for this to work coz I've been looking at it for a while and I want to put the code under a button. Do you have an example I can look at
  14. S

    Query that generates a new number everytime it updates

    can I use conditions and use the following logic 1. initiate the variable = x DO 2. check if record2 field = record1 field 3. if true variable = x+1 Loop
  15. S

    Query that generates a new number everytime it updates

    Hi guys I am trying to get my append query to write one record at a time into one table from a join of two other tables. I need to do this because I need to increment a value from the what was inserted in the previous record. I cannot use an autogenerate number becuase we are not allowed to...
  16. S

    How to use checkboxes

    Hi Guys how can I use these checkbox to determine what fields to update from this table. ie I want to write a control statement that will update a certain field if the checkbox is checked and not update that field if its not. I have four fields that can be updated in any combination according...
  17. S

    Using Check Boxes

    Sorry to bug again but how can I use these checkbox to determine what fields to update from this table. ie I want ti write a control statement that will update a certain field it the checkbox is checked and not update that field if its not. I have four fields that can be updated in any...
  18. S

    Using Check Boxes

    Thanx, you guys are legends :D
  19. S

    Using Check Boxes

    Sorry I'm a complete newby what is an unbound checkbox and I'm getting the user to view one record at a time, then they can select which ever combination of checkboxes they link. When they click next to go to the next record their previuos selection should be irrelevant Cheers for the help
  20. S

    Using Check Boxes

    Hi Guys I'm having some trouble using checkboxes. I want the user to be able to select which columns they want updated for each record by selecting the appropriate check boxes and clicking save. I have created the form but the problem that I'm getting is that if I check a checkbox on one...
Back
Top Bottom