Results 1 to 3 of 3
  1. #1
    Amirhossein14 is offline Novice
    Windows 10 Access 2016
    Join Date
    Jan 2020
    Posts
    1

    Exclamation Change/add argument's value of an existing method

    Hi,

    I am new to access database VBA programming, so I would appreciate if any one could guide me through this problem.
    Is there a way to add more values to arguments of an existing method?



    for example, let's say expression.CreateReportControl (ReportName, ControlType, Section, Parent, ColumnName, Left, Top, Width, Height) has some arguments, and some have their own values ( such as 'Section'). Can I add my own value to the list of recommended values? like an 'acgroupheaderx' ?

    Would appreciate the help.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    48,676
    The short answer is 'no'.

    Why are you programmatically adding controls?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    14,596
    I agree with June, but it seems a rather complex question for someone new to Access vba programming.
    Is there some issue/problem/opportunity prompting your question?

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Change existing report
    By moutsos in forum Reports
    Replies: 6
    Last Post: 01-03-2018, 03:17 PM
  2. Replies: 4
    Last Post: 02-16-2017, 02:58 AM
  3. Change Unique Record Identifier in Existing DB
    By acannon in forum Database Design
    Replies: 2
    Last Post: 05-06-2015, 04:34 AM
  4. Replies: 6
    Last Post: 08-23-2012, 05:06 AM
  5. Change existing combo box to new one
    By snifferpro in forum Forms
    Replies: 3
    Last Post: 08-10-2009, 09:26 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Tech Forums: Microsoft Office Forums