Search results

  1. Khalid_Afridi

    Open to a NavButton programatically using VBA ?

    check this http://ss64.com/access/browseto.html
  2. Khalid_Afridi

    Space Error

    use Trim() function to remove spaces from any field entry in the database. check the attached file with trimmed query. Trim([FieldName]) in this case: TrimmedOrg: Trim([org_Name]) cant upload .rar file. this form support only zip file to be uploaded. anyhow create a blank query and drag and...
  3. Khalid_Afridi

    Can't create a new record

    Are you using Ms-Access 2010? did you compact and repair the database? sometime it happened when you converted 2003 database to 2010 and if you compact and repair the database the Autonumber seeding get corrupted. This happens in Access 2010. I am not sure if you have the same problem. Just try...
  4. Khalid_Afridi

    Too few parameters, expected 1 Error

    Agreed and thanks :) It's always recommended to simplify things before evaluation.
  5. Khalid_Afridi

    OpenForm Cmd not working today...

    Good you sorted it out, the deleted record should clean up automatically whenever you open the table again OR there should be Re-Query action after every deletion on the form. AND again WHY deletion is allowed by users for any record on distributed database?
  6. Khalid_Afridi

    Strange AutoNumber Key Behavior 2007-2010

    The problem is solved by running the AutoNumFix function already posted in the thread and adding PRIMARY key to all the related tables corrupted for auto number seeding.
  7. Khalid_Afridi

    Form that updates table and adds info to another table?

    you are welcome fsmith, just keep in mind some basic rules always - avoid duplicate information i.e information should not be repeated while designing your tables - every table should have primary key (even its not necessary, but good for relationship) - keep primary and foreign key concept in...
  8. Khalid_Afridi

    Too few parameters, expected 1 Error

    How much time consuming if you refer the control in VBA while working with SQL? is there any extra load on database engine while evaluating the expression by passing any reference? When the control "TextBox on a Form" should / should not refer in expression?
  9. Khalid_Afridi

    OpenForm Cmd not working today...

    Is your form "EventList_Justified" is underlined to the specified Query/Table? Suggestions: 1: Try to compact and repair database. 2: Check if your Text41 is named correctly Text41 3: OR just re-create the Text41 and reference the same name to your code 4: Insert Break-points in VBA editor...
  10. Khalid_Afridi

    Too few parameters, expected 1 Error

    Mr. Peter is right. any SQL statement will just work as string for any query. The better way to any string statement in VBA is to create a query in the QBE and get its SQL in the editor. You have to take care of the parenthesis and braces in the VBA code editor to call any query correctly.
  11. Khalid_Afridi

    Form that updates table and adds info to another table?

    for this you need normalization of data, study more about how to normalize data, relationship and data integrity.
  12. Khalid_Afridi

    OpenForm Cmd not working today...

    did you change "EN Number" field name in the BE mistakenly?
  13. Khalid_Afridi

    Design a Macro for Duplicate Required

    Create a blank form: Step -1 Click create >>> Form Design Step -2 In form design, click on the command button on the design menu and then click on form design surface, click cancel button. Step -3 double the command button and open the VBA code design window Step -4 On button click event, copy...
  14. Khalid_Afridi

    Strange AutoNumber Key Behavior 2007-2010

    Our company have more then 10,000 pcs and they change the whole system to 64 bit version company wide. I don't know the exact cause of the problem why it happened? I re-studied the whole database and fixed the problem by just introducing PRIMARY KEYS to all the tables in the database. I...
  15. Khalid_Afridi

    How to fill "Local Tables" with Password Protected back-end database tables

    Re: How to fill "Local Tables" with Password Protected back-end database tables I dont have the SQL BE, I have shared database file. This file is shared by lot of other applications on the network, one of which is REPORTING application where we need the latest data to print. Reporting...
  16. Khalid_Afridi

    How to fill "Local Tables" with Password Protected back-end database tables

    Re: How to fill "Local Tables" with Password Protected back-end database tables Thanks Michael Lueck and Trevor Actually I required to get all the linked tables data in one of my Reporting front end application, where we can print reports based on lot of complex queries and different reports...
  17. Khalid_Afridi

    How to fill "Local Tables" with Password Protected back-end database tables

    Hi everyone! I want to fill local tables in some application with disconnected recordset. The tables in the front end application having the same table structure as in the back end database. The front end application was linked with the back end password protected database tables. I want no...
  18. Khalid_Afridi

    Hi dear, how are you and where are you now a days... do you have facebook id?

    Hi dear, how are you and where are you now a days... do you have facebook id?
  19. Khalid_Afridi

    locking a form

    The air code should be like this. It would be better to understand if you could paste your code.
  20. Khalid_Afridi

    locking a form

    Hi, what code you are using for the correct password? how do you confirm that the password is correct? Is your form is subform on main form?
Back
Top Bottom