Recent content by Shaimaa T

  1. S

    Text column holds value of ID

    Thanks everyone ! The Actions button opens the Actions table which is available in SQL Server so it is linked in access. The action ID is a number whereas the Action is text . There is no combobox here Do you mean that in another form where there is a column named action it will be a combobox...
  2. S

    Text column holds value of ID

    CJ_London, Can you please explain?
  3. S

    Text column holds value of ID

    Yes but there is nowhere in code where we update Action to be ActionID
  4. S

    Text column holds value of ID

    Hi all, I have a table Actions as follow Action ID Action 1 cutting 2 sowing 3 ripping .. .. At some time , on clicking the button that opens this lookup table I found some of the values of Action equal to Action ID Action ID Action 1...
  5. S

    Excel .xlsm + Run time error 1004 Initialization of the data source failed

    It turned out that Oracle was not installed on the client's machine :)
  6. S

    Hash Deleted and autoincrement by 2

    What tells Access to delete the record ? Is there something in Access/SQL that tells to delete a record if a duplicate column is found for the column with unique constraint?
  7. S

    Hash Deleted and autoincrement by 2

    Hi All, When I have a record that I copy and paste into a new record with one column having a unique constraint , I display message "Cannot insert duplicate code" then if not all values in the record are inserted , I get a #deleted in all columns Refreshing , I find that the id is incremented...
  8. S

    Hash Deleted

    How can I resolve this issue since after I get a message box that I cannot insert duplicate trial code(the unique column) and I try to change it to something unique, the whole record is hash deleted.
  9. S

    Hash Deleted

    Hi all, When I copy an entire record and paste it in a new record , I first get a duplicate issue with one of the columns(unique key constraint) and when I attempt to change the column value so as not to be duplicate ...I get a #deleted for the whole record. This does not happen when I copy...
  10. S

    Delete multiple records

    If Trial ID is represented by Text40, how would multiple selections go over each of the values in Text40 until it is deleted ?
  11. S

    Delete multiple records

    The view on which i am trying to update/delete records is : SELECT Trial.TrialID, Trial.TrialCode, Trial.ActualNrOfTotalEntries, Trial.ActualNrOfEntriesVarNr1, Trial.ActualNrOfEntriesVarNr2, Trial.ActualNrOfEntriesVarNr3, Trial.ActualNrOfEntriesVarNr4, Trial.AtualStartweek...
  12. S

    Delete multiple records

    Hi all, If I want to delete multiple records (select more than a record and right-click delete) how can I achieve this given the following with one record: Private Sub Form_Delete(Cancel As Integer) DoCmd.RunSQL "Delete * from Trial where TrialID =(Text40)" Me.Refresh End Sub PS:- I am...
  13. S

    Excel .xlsm + Run time error 1004 Initialization of the data source failed

    I am accessing a client .xlsm file from my machine and it works fine. The client complains that he received a Run time error 1004 : Initialization of the data source failed. So on trying on a different machine(connected to client's network) , I was able to reproduce this error. I just don't...
  14. S

    Capture Ctrl+V to a new record

    You are right. I just misread 3 as test against "the variable in the form keydown event " which is the Pasted variable. If Not isfield is equivalent to If isfield=false which means lost focus in the key down event but actually we want to display the message if it is in focus and not only that -...
  15. S

    View cannot be updated because modification affects multiple base tables

    pasting can be done in the datasheet by doing ctrl+v and/or right click context menu and choose paste. How can I disable this?
Back
Top Bottom