Recent content by xtinct

  1. X

    Security for VBA

    is there anyway to set a password to prevent other people from editing the codes of my project?
  2. X

    Image Debugging

    actually my code is fine.. it is working.. after i added Private Sub Image47_Click() Dim DBpath As String On Error GoTo Err_Image47_Click If IsNull([Yield Trend Chart]) Then Me.Image47.Picture = "K:\Staff Folders\JinLong\New Folder\nochart.jpg" Else DBpath = [Yield Trend...
  3. X

    Image Debugging

    i have entered the following codes Private Sub Image47_Click() Dim DBpath As String On Error GoTo Err_Image47_Click If IsNull([Yield Trend Chart]) Then Me.Image47.Picture = "K:\Staff Folders\JinLong\New Folder\nochart.jpg" Else DBpath = [Yield Trend Chart]...
  4. X

    Back to main(default) switchboard

    ok.. solved the problem with Form_Switchboard.Filter = "[ItemNumber] = 0 AND [Argument] = 'Default' "
  5. X

    Code for image

    ok solved it... Private Sub Image56_Click() Dim DBpath As String If IsNull([Yield Trend Chart]) Then Me.Image56.Picture = "K:\Staff Folders\JinLong\New Folder\default.jpg" Else DBpath = [Yield Trend Chart] Me.Image56.Picture = DBpath End If End Sub thanks...
  6. X

    Code for image

    it tried to replace If IsNull(DBpath) Or DBpath = "" Then with If Nz([Yield Trend Chart],"") then but it show Run-time error '13': Type mismatch
  7. X

    Code for image

    the error shown was Run-time error '94': invalid use of null
  8. X

    Back to main(default) switchboard

    sorry.. i dont get what u mean by this
  9. X

    Code for image

    i tried the sample and changed the code to Private Sub Image56_Click() Dim DBpath As String DBpath = [Yield Trend Chart] Me.Image56.Picture = DBpath If IsNull(DBpath) Or DBpath = "" Then Else Me.Image56.Picture = "K:\Staff Folders\JinLong\New Folder\default.jpg" End...
  10. X

    Back to main(default) switchboard

    but closing the form only will bring me back to the sub switchboard.. i need to get back directly to the main switchboard
  11. X

    Back to main(default) switchboard

    after i open a form using the switch board, i need to click a button to close the form and return back to the default switchboard.. what code do i need to put in the button to do the task?
  12. X

    Code for image

    Private Sub Form_Load() DoCmd.Maximize Me.Image56.Picture = "K:\Staff Folders\JinLong\New Folder\default.jpg" End Sub Private Sub Image56_Click() Dim DBpath As String If [Yield Trend Chart].Value Is Not Null Then DBpath = [Yield Trend Chart] Me.Image56.Picture = DBpath Else...
  13. X

    Maximize form on load

    how to maximize the form when you load it?
  14. X

    Display html/chart/image on form

    anyone can help?
  15. X

    Display html/chart/image on form

    lets say i have a data field which contains hyperlink for a html file, can i display the content of the file from the hyperlink in the form when the form is loaded?
Back
Top Bottom