Recent content by nectorch

  1. N

    How to deal with locking system in MS access safely in point of sales environment

    In a point of sales environment, you will find that when clients are purchasing some products maybe let say thirty lines now when the total amount to pay is shown to them, they may want to remove some lines not in the correct order but randomly. Doing that mean the line sequence will be...
  2. N

    How to always set focus on the control on parent form after entering data in the subform

    Here is the full db as requested , barcode to use are 410000100 to 410000127
  3. N

    How to always set focus on the control on parent form after entering data in the subform

    This fails also Private Sub Form_AfterUpdate() Forms!frmPOSStocksSold!txtProductCode.SetFocus End Sub
  4. N

    How to always set focus on the control on parent form after entering data in the subform

    Public Sub txtProductCode_AfterUpdate() Dim lngProdID As Long Dim sReturn$, varValue As Variant If Not (IsNull(mID)) Then 'DoCmd.GoToControl "sfrmPosLineDetails Subform" With Me![sfrmPosLineDetails Subform].Form .Recordset.AddNew...
  5. N

    How to always set focus on the control on parent form after entering data in the subform

    Hi I thought this was an easy task, but has proved not. The people scan the barcode on the parent form on the control called txtProductCode that works fine no issues data is transfered to the subform, but the second scan for the next line item the cursor does not set focus on txtProductCode...
  6. N

    Solved In MS Access if the VBA code is taking longer than required how do we force the code to next

    With Request .Open "POST", stUrl, False .setRequestHeader "Content-type", "application/json" .Send requestBody Response = .ResponseText End With Sleep (1000) If Request.Status <> 200 Then Resume Next ElseIf Request.Status = 200 Then MsgBox...
  7. N

    How to ensure that the current stock control is update when the data appears on the subform in access

    When I run the requery below the data appear in all two subforms and allows me to edit and save, see the VBA query below: Private Sub CbotrIssues_Click() On Error GoTo Err_Handler Dim LTAudit As String LTAudit = Nz(DLookup("IssueStatus", "tblIssueSlip", "SlipID =" & Me.CbotrIssues)) Me.Filter =...
  8. N

    Solved Getting the key and value from Json collection with VBA Microsoft Access

    cheekybuddha Many thanks to you, you clearly demonstrated professional knowledge in coding the sky is the limit for you Many thanks
  9. N

    Solved Getting the key and value from Json collection with VBA Microsoft Access

    I need help to get the value from a Json string using VBA MS Access, I'm able to get the first two line correct but failed on the last two lines , the problem is how to move into the collection Private Sub Cmdgetweather_Click() Dim Json As Object Set Json = JsonConverter.ParseJson(GetWeather)...
  10. N

    Solved Which MYSQL ODBC Connector works well for MySQL version 8.0.40 (FE MS Access)

    But version is only available for 32 BIT not 64 BIT MS Access. And yes version 8.0.0 is working okay for 32 BIT that is what I'm using, what 64 BIT?
  11. N

    Solved Which MYSQL ODBC Connector works well for MySQL version 8.0.40 (FE MS Access)

    I have been having problems with MySQL version 8.0.40 , I'm currently using the listed MYSQL connector ODBC with MS Access as FE: (1) 9.1 ODBC with 64 BIT is now failing Now I have redo all the deployment all over again Any idea which odbc version works well with MySQL version 8.0.40 with MS...
  12. N

    How to ensure the open recordset include also any new record entered

    Thank you minty both codes above works okay but the problem is that the subform current record showing on the picture is not taken into , I expected the current balance of 96 to be reducing when a user add a new line: 1.Line => 96 - 1 = 95 2.Line = > 95 - 1 = 94 3.Line = > 94 -1 = 93 4.line =...
Back
Top Bottom