Recent content by smyeong

  1. S

    Fail to display textbox based on query parameter onto Data Acces Page

    Hi all, i still have another problem which is related to Access Query parameter ' Between [Pdate1] And [Pdate2] ' When i converted it to DataAccessPage, it succeeded and came up with parameter box asking Pdate1 and Pdate2. But, when i create a textbox on the DataAccessPage to remark the date...
  2. S

    How to handle order detail's shiped item

    Dear all, I was having a problem whereby I don't know how to write a VBA code to facilitate my sales detail records. For your info. my company is dealing with bottle selling. Usually we got one sale order and that could produce many time of shipment. My problem is like this : Relationship 1...
  3. S

    How to get SQL returned value displayed on my form 's unbound textbox ?

    Hi, all. I was wondering how to finetune below code to allow to my inbound combox box named 'code' to show query 's return value on my main form's textbox ? I did it by using Code_afterUpdate event . I got 1 main form called frm_itemRequestHead which is link up to subform called...
  4. S

    How to get SQL return value displayed on my form 's unbound textbox

    Hi, all. I was wondering how to finetune below code to allow to my inbound combox box named 'code' to show query 's return value on my main form's textbox ? I did it by using Code_afterUpdate event . I got 1 main form called frm_itemRequestHead which is link up to subform called...
  5. S

    No more entry allowed in subform

    Hi, all. I need to know if i can add a control inside a form which is having 1 to many relationship with a subform. The control should prevent the subform from adding new record once the subform have been filled in. Eg, Tbl_request / Main form Doc Date 1 - 12/5/4 Tbl_RequestDetail / Subform...
  6. S

    No more entry allowed in subform

    Hi, all. I need to know if i can add a control inside a form which is having 1 to many relationship with a subform. The control should prevent the subform from adding new record once the parent and subform have been filled in. Eg, Frm_Request Doc Date 1 - 12/5/4 Frm_RequestDetail ID Doc Code...
  7. S

    Stock Glossary

    More understanding on the terms Thanks for those replied above. In my scenario, can i make the reorder qty and safety level different meaning based on below : ItemA Stock balance : 10 Safety Level : 5 ItemA ordered : 20 reorder qty = absolute (10 - 20) + 5 = 15 onhand qty = stock balance...
  8. S

    Stock Glossary

    How would u understand these words? Can somebody explain to me what actually are meant by Reorder QTY , Safety Level and backorder ? I need to make clear of these words before i use them in my stock control access. Thanks.
  9. S

    How to apply this type of dlookup?

    Thanks giving Thanks Hartman. U have inspired me how to do solve problem.
  10. S

    How to apply this type of dlookup?

    Hi, all. I used below after_update code to dlookup particular data on my parent form. It did what i want. Me!Material = DLookup("imdsc1", "tbl_itemmaster", "IMLitm = forms![frm_itemRequestDetail]![ILcode]") Eg, i choose dept code and it auto show dept name in my unbound field on the parent...
  11. S

    Copy into 2nd field as Julian

    Thank you. 1st of all, I need that date to be in Julian format then i'll add year number to make it unique for numbering. That was requested by my customer instead of using autonumber. Thanks
  12. S

    Copy into 2nd field as Julian

    Hi, all. I have inserted a new module as following : Option Explicit ' RETURNS: A three digit Julian day as a string. Function Date2Julian(MyDate As Date) As String Date2Julian = Format(MyDate - DateSerial(Year(MyDate) - 1, 12, 31), "000") End Function This module is to turn my date into 3...
  13. S

    Auto Copy inbound control into 2nd inbound control

    Copy inbound control A into inbound control B Thanks for ur post. Sorry it 's not what i want. i don't want to change the figure itself from the exact figure to negative. I want duplicate it into next field as negative value. in fact i need that field in to do some calculation by having...
  14. S

    Auto Copy inbound control into 2nd inbound control

    Dear all, I was wondering is there a way to copy ActualQTY into another StoreQTY field as negative value for whatever figure has been keyed in on my form? For instance, itemA RequestedQTY ActualQTY StoreQTY ABC........... 10............ 8 ............ -8 ..... Meaning to say when i have...
  15. S

    New rule of controlling form entry

    New Control - Locking record after entered Thanks anyway. My code has finally worked out. Private Sub Form_Current() DoCmd.RunCommand acCmdSaveRecord If QTY <> 0# Then QTY.Locked = True Else QTY.Locked = False End If End Sub
Back
Top Bottom