Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: matrec
  • Order by date
  1. matrec

    msgbox: Compilation error Invalid use of property

    Roy-Vidar, addy, PHV I have finally spotted in one of the tables "msgbox" as a field name. I deleted this field and compacted the database. Everything works fine and msgbox is written as MsgBox. Thank you all for your valuable help
  2. matrec

    msgbox: Compilation error Invalid use of property

    When I right-click in msgbox and choose definition there is a Visual Basic Message saying "Cannot jump to 'msgbox' because it is in the library 'C:\Documents ......... ' which is not currently referenced.
  3. matrec

    msgbox: Compilation error Invalid use of property

    VBA.msgbox "You have permission to view only" has worked. But I find out that, in all cases that msgbox is used, this is written in low case letters instead of MsgBox. Now I remember that a few months ago, I used: Dim msgbox as string but searching through the code now, I cannot find this. I am...
  4. matrec

    msgbox: Compilation error Invalid use of property

    No, I have checked this. I forgot to mention that the problem occurs only in the fresh database where I imported all objects. The original program works without any problem. Rgds
  5. matrec

    msgbox: Compilation error Invalid use of property

    Hi addy, Here is the code: Private Sub Form_Open(Cancel As Integer) If userLevel = "V1" Or userLevel = "T2" Or userLevel = "T3" _ Or userLevel = "T1" Or userLevel = "P1" Then msgbox "You have permission to view only" DoCmd.CancelEvent Exit Sub End If Call allowEditDeleteAdditionW(Me) End Sub...
  6. matrec

    msgbox: Compilation error Invalid use of property

    I have created a blank database and have imported into it all tables, forms, queries, reports, modules of my Access XP 2003 program. When I open the program, I get the following Compile Error message: Invalid use of property. The mark goes onto: msgbox "My message" . I have checked the...
  7. matrec

    Report appears in FIT size instead of 100%

    After many trials I solved this problem using: DoCmd.OpenReport stDocName, acPreview DoCmd.RunCommand acCmdZoom100 Thanks MP9
  8. matrec

    Report appears in FIT size instead of 100%

    Thanks. There is an error message "The command or action Zoom100% isn't available now" . Any more clues please ?
  9. matrec

    Report appears in FIT size instead of 100%

    I have moved into Windows XP with Access 2003. When I click the Preview button of a report, it appears in FIT . Is there a way to change this setting and make it into 100% ? Thanks
  10. matrec

    MainForm/SubForm Problem

    Thank you both. 1. Lupins46 the field that links MainForm and subForm is OK. 2. TheAceMan1, you are absolutely right. Problem solved. Thank you. Best rgds
  11. matrec

    MainForm/SubForm Problem

    I posted this question by mistake to the wrong forum, so I repeat it here: I have a field named 'TransNo' in the MainForm. The subForm is in the Detail Section of the MainForm. In the footer of the subForm I have another field called 'InvoiceID' and its Default Value is set to...
  12. matrec

    Form/Subform Problem

    I have a field named 'TransNo' in the MainForm. The subForm is in the Detail Section of the MainForm. In the footer of the subForm I have another field called 'InvoiceID' and its Default Value is set to [Form]![subForm]![TransNo]. The problem is that, when I start filling the subForm with...
  13. matrec

    Make Table Query

    I have all my tables in DB.mdb and my reports, queries and forms in MP.mdb . I have a Make Table query qryMT in MP.mdb and want the Another Database File Name, where the new table will be created, to be obtained from a field fileName in tblArea in DB.mdb . Are there any suggestions how to...
  14. matrec

    Locking records on a subform

    I have a main form frmMain and a subform subFrm. On the on-Current event of the subform, I use: Me.AllowEdits = True Me.AllowDeletions = True so that all the records are locked. To unlock, I have created two command buttons, one to unlock the records: Me.AllowEdits = False Me.AllowDeletions =...
  15. matrec

    Memo field shows only 3 first lines in a report

    Thank you both. The data in the Memo field is a text which never changes. It is part of a letter, let's say. May be the problem has to do with the properties of a Memo field used on a report. Maybe there is a maximum of characters it can show on the report, though it holds many more in the...
  16. matrec

    Access a field of Main Form from a SubForm

    Thanks BSman. Solved the problem Rgds
  17. matrec

    Access a field of Main Form from a SubForm

    Hi, I have a main Form called "frmMain" and a subform called "subFrm", there common field is NotNo. How can I check that a text field called "eacNo", which belongs to "frmMain" is Null, from the on-entry event of field "fName" of the subform "subFrm" ? I have tried if Len(Forms!frmMain!eacNo)=0...
  18. matrec

    Memo field shows only 3 first lines in a report

    Hi, I have a table with 5 Memo fields. I fill each Memo field from a form and then use each field in a report. The problem I have is that for some Memo fields, the report showes only a part of it , first 3 lines. I changed the Can Grow, Can Shrink properties into Yes, of the report's field but...
  19. matrec

    How can I find the maximum value using code

    I need to find the maximum value of field IDPost (integer) and then icrease this value by 1, using code. I then declare this value as maxIDPost1 and use it on a form. qryFindMaxIDPost is the query that gives all the numbers from where I will select the one that has the maximum value. This is...

Part and Inventory Search

Back
Top