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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CROSSTAB Report with dynamic column headings 2

Status
Not open for further replies.

vig

MIS
Jan 29, 2000
14
US
I need help with the above.&nbsp;&nbsp;Since I am not a programmer, I used this process. 1. Created crosstab.(Project#=Row Head) (Work Date=Column Head) Hours=Value. 2. Named it EmployeeSales. 3. Copied the Developers Solutions &quot;Employee SalesDialogBod&quot; Form and EmployeeSalesReport into my database. The crosstab seem to work but when I try to preview the report from EmployeeSalesDialogBox I get a Compile error...In the Private Sub_Report, line 7 --If not (Is loaded(EmployeeSalesDialogBox)/ Then<br><br>What to do???what's my next step???any help will be appreciated. Detail please.&nbsp;&nbsp;Need this done this week.<br>Thanks.
 
1) Do you have the &quot;IsLoaded&quot; Function in your database? This is not an Access Built-in function. If you need it, I have it.<br>2) The syntax is wrong: If Not IsLoaded(&quot;EmployeeSalesDialogBox&quot;) Then ...<br><br>Let us know if either of these help.<br><br><br> <p>Jim Lunde<br><a href=mailto:compugeeks@hotmail.com>compugeeks@hotmail.com</a><br><a href= Application Development
 
How do I know if the &quot;Is Loaded&quot; function is in my database?? Thanks.
 
The routine below is in the database.&nbsp;&nbsp;I changed the dates to reflect test data.&nbsp;&nbsp;I searched for &quot;Is Loaded&quot; and found nothing. <br><br>Private Sub Form_Load()<br>&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;Used by Developer Solutions to return records for example.<br>&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;Enter parameters in BeginningDate and EndingDate text boxes when<br>&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;form is loaded.<br>&nbsp;&nbsp;&nbsp;&nbsp;Me!SelectDate = #4/20/00#<br>&nbsp;&nbsp;&nbsp;&nbsp;Me!BeginningDate = #4/20/00#<br>&nbsp;&nbsp;&nbsp;&nbsp;Me!EndingDate = #4/28/00#<br><br>Thanks again for your help. As you can tell I reallllly need it. <br>&nbsp;&nbsp;&nbsp;&nbsp;<br>End Sub
 
Look in the Developers Solution database under Modules, there is a custom module named &quot;IsLoaded&quot;. Copy and paste that module into a new module in your database.
 
Got it going. Thanks to Elizabeth and Jim.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top