Normal Topic running a command button from subform. (Read 911 times)
BOBSCOTT
Senior Member
Members
*****
Offline


That Darn Computer #$X#
{curse words}

Posts: 1195
Joined: Nov 22nd, 2002
running a command button from subform.
Sep 23rd, 2013 at 4:37am
Print Post Print Post  
Am I asking for trouble running a command button that runs a subroutine that runs a search, sort, and quickreport spec from a subform?

I have been running a report at the end of the day that uses {@date) and a few other retrieve specs  to generate a report showing some specific types of transactions  generated in the day.

The user had been leaving the main form and opening a form that is normally only used as a subform and then pressed a command button with this subroutine
hdsRunSpecs("AllhomeTodayonly", "PatientthenRecnum", "BillingbreakdownToday")
the other day the user from the main form changed the subform view from table to form and pressed the button and ran the report. I was concerned what issues could be created running this from a subform

Is this something that should not be done or is this an acceptable practice?

Thanks
  

Team – Together Everyone Achieves More
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2480
Joined: Aug 20th, 2003
Re: running a command button from subform.
Reply #1 - Sep 24th, 2013 at 5:52pm
Print Post Print Post  
Hello Robert,

I would guess,without seeing the code, that you would want to run it from that form as a standalone form as it may be trying to access abilities that a subform does not have.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged