Search results

  1. A

    Solved input mask report and print

    i have 2 value to show on single textbox if null 1. PsPortGuru 2. NoKP i using query to combine 2 value if one of that null my query is compass: Nz([PsPortGuru];[NoKP]) on report i use "compass" now my problem is for NoKP i want to show input mask 999999\-99\-9999;;_ by using this...
  2. A

    Solved auto number id format on vba

    hi again Private Sub NoPermit_GotFocus() NoPermit = "XXXX/xxx/xxx/xxx." & tahundaftar & "/" & noidtext & "" End Sub above my code noidtext = this item i use format "0000" on noidtext on left i want using 0003 how can i get 0003 thaks
  3. A

    Print page footer only on the first page

    hi, i have some text in footer section but i want to show only page 1 and hide on page 2 on print preview it got like what i want but when print the report on footer text not show anything.. the code i use Private Sub PageFooterSection_Format(Cancel As Integer, FormatCount As Integer)...
  4. A

    hide table design when no value

    hi in report, how to hide table gridlines if no value check the picture thanks
  5. A

    hide text if field is null

    hai this is my current code for report access ="RM " & Format([YURANPROG1];"Standard") & " " & [yrnsujek1] &"" output : RM 50.00 / subjek yuranprog1 = 50.00 subjek = / subjek how can i hide "RM" if yuranprog1 and yrnsujek1 is empty or null on report thanks
  6. A

    Solved replace null field to another textbox value

    ="Ini adalah memperakui bahawa <b>" & [namapp] & " ( " & [NOKP] & " )</b> telah " above is my current code. is there another where if i want replace "NOKP" with another fields "PSPORT" if "NOKP" is null hope you understand
  7. A

    auto number format on form

    hai, i have set my auto number format as "00000" so my auto number will be 00001,00002 but on form textbox auto number still use 1, 2, 3 example for wat i want to do TGuruIPS.noid = IS AUTO NUMBER tahundaftar = year output ZXCV/XXX/CC/AAA.2022/00001 ZXCV/XXX/CC/AAA.2022/00002...
  8. A

    Go to Record when select on listbox

    hi, forms record will show data when select on listbox When i select data on listbox record will show on forms.
  9. A

    Solved MS Access print form instead of report

    hai i have problem sometime my print preview report will print form not a report. print preview show report but it will print forms not report (sometime will print report but sometime will print forms).. can i know what the problem ? any wrong setting ? report call via button from forms button...
  10. A

    Solved Edit and update some field via vba error

    hi. i want to edit and update some field via vba . i write some code but it as some error Private Sub listsemuaguru_DblClick(Cancel As Integer) Me![listgurufilterips].Requery Dim tguru As Integer, RESPON As String Dim MyDB As DAO.Database, MyTable As DAO.Recordset Dim JWBCONFIRM As String...
  11. A

    Solved how to get AGE from my idenfication no format

    hi. is there any where to get AGE value from idenfication no my gov id format like this. 980530-04-1233 98 = yy 05 = mm 30 = dd i like to get age no to show on form and report. thanks
  12. A

    Solved date format on vba

    hai i have this code.. trktmtsementara = DateAdd("M", tempohsementara, tarikhsementara) how can i set the date format to dd mmmm yyyy i try to set via property sheet but not working my full code
  13. A

    Add New Record with some value in form

    hi, i have button click code get some data when add new record but have some bug when i set all importand fields to Required here the code Private Sub Command41_Click() Dim namasek As String, kodsek As String, jensek As String, nokpp As String, thndaftar As String Dim tablesaya As Recordset...
  14. A

    Solved get data from selected listbox to textbox

    I am trying to make a textbox get data from selected listbox from query. listbox bound with 4 column & 4 textbox when selected listbox data it will update the textbox data hope you understand
  15. A

    Solved fixed exp date on day and month

    hi there, on my form have fixed exp date "31 december" for year it will +1 year . below is my current code Private Sub TarikhTamat_GotFocus() TarikhTamat = "31 Disember " & Year(TarikhMohon) + TempohMohon End Sub TempohMohon = textbox with number 1 --> 5. 1 equal to 1 year TarikhMohon...
  16. A

    Solved change date to other language

    hai, is there any code or format to change my date (dd mmmm yyyy) to malay language without change the region setting on pc ? my pc is control by domain admin, so everytime i change the region setting to malay it will change back to default value. so my option is to control the date...
  17. A

    Solved disable/enable command button based 2 combobox value

    hi, based on title, i can disable command button if i have only use 1 combobox value. the is like Private Sub Form_Current() If Combo10.Value = "SEMENTARA" Then Me.Command6.Enabled = True Me.Command8.Enabled = True Me.Command9.Enabled = False Me.Command7.Enabled = False Else...
  18. A

    Solved calculate textbox report

    hi, i have report need to calculate how many room have. total room have 18 field, below is the code i use...
  19. A

    Akai from Malaysia

    hi there, come here to increase my knowledge in ms access coding. thanks for accept me in this community
Top Bottom