Search results

  1. E

    importing into Access from a .exp file

    Hi, I think this is all the bits you'd need. I would keep this separate and look through it at your leisure (perhaps use parts or the general idea in the future?) Vince
  2. E

    RecordCount doesn't work?

    For your info: Dynamic - allows updates - recordcount property disabled (returns true I think for more than one record or false for 0 records) Static - snapshot type - acts like Dao and allows recordcount - probably need to move last move first before it (just incase). Vince
  3. E

    New computer shuns Functions

    Post your Sql...
  4. E

    Join property expression

    Apparently yes... With a slight amendment to your Sql statement. Won't show in Query builder though SELECT fk1.[feeder key], fk2.[feeder], fk2.[mod] FROM fk1 LEFT JOIN fk2 ON right(fk1.[feeder key],5) = fk2.feeder; (I used left as a test - but seems to work) Vince PS: I didn't know this...
  5. E

    4 text boxes and a funeral

    If you use code on, probably on a button press (although you can run from AfterUpdate)... Open a recordset with the table two and search criteria Check if you have record(s) returned. - If so put the first one into the fourth box - If not - tell user? close recordset dim rst as...
  6. E

    need help with this database ASAP

    So this is an assignment, which means you have the tools you need (vb books tutor...) First up what are you going to do? I would write down a list of fields and group them together (normalisation) From there I'd shove it in Access and run a couple of tests with test data to see if the tables...
  7. E

    Help with multiple lookup lists

    Table with venue details Table with lookups for suitability types Table (VenueToSuitability) with VenueID and SuitabilityID Then the form would need a multi-select listbox (probably) and possibly some code to store all selected items to the VenueToSuitability Table This is only one options...
  8. E

    4 text boxes and a funeral

    What code do you have? Are the text boxes bound? Any other interaction from the user? Is it meant to display from one table and store in the other? Vince
  9. E

    importing into Access from a .exp file

    Hi Bit late for me to post as you've already solved it but I wanted to chuck my 2 cents worth in. Couple years back I wrote (in access VBA) a text file reader that read any text file into a table (max 50 fields per row) so the developer could then manipulate the data easier (queries into the...
  10. E

    Packaging - MDE FILE

    Tools>Database Utilities>Make MDE I think a 'save as' pops up and you save it to a new location. The MDE hides all code (its compiled) but doesn't hide tables. Needs access already installed If the pics are linked and not embedded then yes you need to include these.
  11. E

    help with access

    Thoughts: - Read up on naming conventions more - don't use spacing in the naming of objects, nor special characted like slash - never ever use macros in Access - use VBA coding (read up on this if you need to) - the first form doesn't need to be linked to data (its editing a record?) - try not...
  12. E

    Need help querying into text field

    Sorry to post this as you probably won't like it... well at least initially. tblComponents ComponentID - auto - pk Compotent details (how ever many fields) tblAssemblies AssID - auto - pk AssCode - text - 20 AssDescription - memo AssActive - Yes/No - default yes tblAssemblyComponents...
  13. E

    Web

    In theory there is the web/data page option. No idea if it works. There is also via Asp (or possibly php) and displaying bit n pieces as required. Depends what you are needing to do with it, and how much time/money you have available to do things.
  14. E

    Query Design Problem

    Forget the query returning duplicate info, if you are designing a report using access reports - then use the grouping function in access. I think its under the right mouse menu>Sorting and grouping Here you specify how to group and when, and also if you want a header/footer for each group...
  15. E

    Catch an error

    Rethink the editting form perhaps so it won't allow new records and only allows the user to edit the selected record?
  16. E

    Random Generator

    Function you'll need. - Rnd - returns a 'random' number from the seed (randomize) between 0 and 1 - Randomize - initializes You'd probably need to get all the Account numbers in a list/array/table/query. Store the maximum number of them into a variable. Then multiply that maximum value against...
  17. E

    Build an "or" clause in VBA and use as criteria in a query

    Um... Not sure... I don't usually do bound things.. I do the harder VBA coded Sql statement way... You could change the rowsource... If you copied the main sql statement (the one that returnes records but doesn't have a where clause... or extra where clause parts) then add a where clause (if...
  18. E

    Some SQL query issues.

    SELECT PL.productNum, P.description, SUM(PL.quantity) FROM PRODUCT AS P, PROD_LOCATION AS PL WHERE P.productNum = PL.productNum GROUP BY PL.productNum, P.description; The easy one, this is because when you use a group bby you must always list all the fields that are using aggregate...
  19. E

    Build an "or" clause in VBA and use as criteria in a query

    Try changing the reference in the Sql statement to : In(forms!formname!txtbox) Then change the filter code to: If BuilderList <> "" Then BuilderList = BuilderList & "," & Chr$(34) & Me!lstBuilders.Column(0, BuilderSelected) & Chr$(34) Else BuilderList = Chr$(34) &...
  20. E

    How can I use * in query

    Build the Sql statement up via code and use instead. Then you can have true, false, included excluded etc on the form and the code interprets it and creates as required. For example Searching for * (all records) means no filter required, but if you put a true in then a filter is required and...
Back
Top Bottom