AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • Rolodex
    • Podcast
    • Blog
    • Forums
  • Paid
    • AugSQL
    • GI Course
    • GI Library
    • Consulting
  • Register
Acumatica Forums

By using this website, you agree to our Terms of Use (click here)

Forums
AUG Forums
Acumatica Report De...
Variable from subre...
 
Notifications
Clear all

Questions Variable from subreport is out of sync with the proper record if the subreport has any records with no values

 
Acumatica Report Designer
Last Post by LT8675309 3 years ago
3 Posts
2 Users
1 Reactions
941 Views
RSS
LT8675309
Posts: 15
 LT8675309
Topic starter
September 26, 2022 1:56 pm
(@ltussing)
Eminent Member
Joined: 4 years ago

Hello,

I am passing a variable from a subreport back to the main report.

This is working with one problem.

If the subreport has no records to report, the variable being passed back to the main report is wrong.

The variable should always report the value from the subreport for the current record.

The subreport itself prints correctly, but the variable appears to be from the previous record’s subreport value.

I've tried all the tips and tricks I could find on this forum with no success.

image

 


2 Replies
mcraig
Posts: 65
 mcraig
September 26, 2022 3:25 pm
(@mcraig)
Estimable Member
Joined: 5 years ago

I was thinking maybe you can reset the global variable. Before you go in. 

I thought I had read that a global variable can be updated.

Maybe before you call it you set it to a value externally in your main program. 
Then check for that value before you use it.

I have tried doing this within, without success.

Sharing an idea.

Matt

 


Reply
LT8675309
Posts: 15
 LT8675309
Topic starter
September 26, 2022 5:59 pm
(@ltussing)
Eminent Member
Joined: 4 years ago

Matt,

I found another way to get this figure without needing to subtotal in a subreport  so this is a moot question for me now.

I sincerely appreciate you taking the time to respond!


Reply
Tim Rodman reacted
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,526 Topics
  • 10.9 K Posts
  • 7 Online
  • 2,324 Members
Our newest member: Michael Kiley
Latest Post: Pick List report suddenly not splitting on Shipment
Forum Icons: Forum contains no unread posts Forum contains unread posts
Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Online Members

 No online members at the moment

Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

Copyright © 2025 · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×