Search results

  1. Babycat

    Store and manipulate a Control on form

    Hi June7 Your code closes form DialogGetDate as soon as it loaded. So, User has no chance to make any date selection on the form DialogGetDate? In my own code, FormB is closed right after it is opening.
  2. Babycat

    Store and manipulate a Control on form

    Tempvar can store a string only, while I want textbox instance
  3. Babycat

    Store and manipulate a Control on form

    Hi June Yes, that is what I am trying to do. After you selected value on form B, you make form B invisible in Keypress event. Which event on calling from (formA1, formA2...) trigger the data retrieving? In other words, when do you call this code 'user prompt for entry of logout date...
  4. Babycat

    Store and manipulate a Control on form

    ChatGPT suggested me using Eval too, I tried it and I think we get same results :) btw, about this code: Set MyProductName = Forms!FrmA2.Txt_ProductName "Forms!FrmA2.Txt_ProductName" is actually value of the a textbox. Do you think you could assign it to a textbox instance? I tried it but no...
  5. Babycat

    Store and manipulate a Control on form

    Hi Edgar Yeah, I also think about this way, but I was hope there is a better way without using a global variable. My understanding is that global variables could be reset if a runtime error occurred, so I avoid using it.
  6. Babycat

    Store and manipulate a Control on form

    Yeah, it could be ProductID. I tried to study but I dont really understand your code, and i have doubt if you got my meaning in post#1. It like Edgar mentioned in post #4: when formB is opening, it's passed OpenArgs contains information about where it is opened from (form A1, A2 or A3...), it...
  7. Babycat

    Store and manipulate a Control on form

    Hi all. I have forms A1, A2, A3... that contains subforms, and on these subforms I have textbox named Txt_ProductName It could be located at: "Forms!FrmA1.Form.Level1subA1.Form.Level2subA1.Txt_ProductName" (I assigned this string to Arg_str1) or "Forms!FrmA2.Txt_ProductName (assigned to...
  8. Babycat

    #Delete msg on form's fields

    Yes, user has permission to read/write to the folder. In this case, records are not being deleted since they are back in a while or back when we restart app.
  9. Babycat

    #Delete msg on form's fields

    Hi everyone My customer is evaluating my small Access project. Splited BE is on a network folder "\\data\accessDb\BE.accdb", Two users have their own FE on their desktop PC. These desktop PCs are joined to domain. Most of time, the system works fine as expected. About my app: + FE has...
  10. Babycat

    Solved Max user to a LAN shared folder (BE)

    Thank you. I have to convince my customer using window server then...
  11. Babycat

    Solved Max user to a LAN shared folder (BE)

    Hi all I am using shared folder on LAN to store BE file, but i saw this setting limit to 20 users only. My customer wants about 50-70 users install my Access app. What if there are 30 users opening Access app at same time? Is that possible to increase simultaneous users to around 50-70 user...
  12. Babycat

    Solved Clear a numeric field to Null

    "L_TBLUSER_CURRENT" is on FE, and I also have a separate log in table that records users's login/logout on BE. "Remember me" is feature required by customer that I can avoid. Since each user has their own computer that dont share to others, they said they want "Remember me". Anyway, thank you...
  13. Babycat

    Solved Clear a numeric field to Null

    Hi Pat Current user log (on FE) is only be cleared when user click on "Logout" button. Without logging out, next time they open the app, it will bypass login window (assume Remember me is ticked). So when user starting application, on AutoExec code, I do check: If DCount("*"...
  14. Babycat

    Solved Clear a numeric field to Null

    Hi Pat Yes, that is more reasonable. I forgot about using Dcount... Code to set current active User Public Sub User_SetCurrentActiveUserID(loggedID As Long, Remember As Boolean) On Error GoTo ErrorHandler Dim rs As DAO.Recordset Dim DeleteSQL As String 'Just clear table first...
  15. Babycat

    Solved Clear a numeric field to Null

    Thank Pat, Appreciated your suggestions. Yes, I understand about orphan record, and I have been trying to manage them like your guideline. However, in this case there is only one row in this table (this table locates in FE) to tell current logged-in user in this machine.
  16. Babycat

    Solved Clear a numeric field to Null

    Yeah, it's exactly the point. My careless
  17. Babycat

    Solved Clear a numeric field to Null

    Hi all, I want to clear CurrentID (long) to null (nothing) in table current logged User I thought it was simple SQL. UPDATE L_TBLUSER_CURRENT SET L_TBLUSER_CURRENT.CurrentID = Null; But I got error: "You tried to assign the NULL value to a variable that is not a Variant data type" My purpose...
  18. Babycat

    Detect BE connection lost and handle it

    Dear Pat Thank for your detail, I understand with Citrix and RD we are not sending any Access data but sending key trokes and screen. Where does this server locate? Will I need a VPS or I can use my local PC with static IP? Sorry for dumb question, but as mentioned before, I dont have IT...
  19. Babycat

    Detect BE connection lost and handle it

    It has about 30 tables and 40 forms. Unfortunately, I am not familiar with REST API, seem it is long way to go for me.
  20. Babycat

    Detect BE connection lost and handle it

    Dear all Currently, user1's local PC is still playing well "server computer" role. User2 FE hang up issue is not often and not critical. I think about VPS because of future system scaling, one day my company might expands 2nd 3rd offices in different locations... These days, I really can not use...
Back
Top Bottom