×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

PageFrames

PageFrames

PageFrames

(OP)
I have a report that has three pages in the page frame. I want my vcr buttons to affect all three pages at the same time, I want all three pages to go to the next record and append blank. How do I accomplish this?

When you sow a thought, you reap an act. When you sow an act, you reap a habit. When you sow a habit, you reap a character. When you sow a character, you reap a destiny.

RE: PageFrames

I suppose you meant that u have a form with three pages. Now the vcr button is used for navigation and IMHO doing something like APPEND BLANK is rather odd.

The vcr button from samples will affect one table only. If there are relations then it will move the record pointer in the other tables also.
It will be wise to have a command button which will append records to the required tables.

AjoyK

RE: PageFrames

Hi BigSPank

In the VCR Button Group's click event (I assume you have a class for the vcr buttons) add the code...

DODEFAULT()
ThisForm.PageFrame1.Refresh()
ThisForm.PageFrame2.Refresh()
ThisForm.PageFrame3.Refresh()
etc...
This shall take care of your advancement.
Hope this helps

ramani
(Subramanian.G)
FoxAcc
ramani_g@yahoo.com
LET KNOW IF THIS HELPED. ENOUGH EXPERTS ARE HERE TO HELP YOU OUT! BEST OF LUCK

RE: PageFrames

A bit of playing mister knowitall..,

A better one would be (it will always refresh all pages, independend of the number of pages)

LOCAL lnCounter, llRetVal

llRetVal = DODEFAULT()
lnCounter = 0

IF llRetVal
 WITH THISFORM.PageFrame
  FOR lnCounter = 1 TO .pageCount
     .Pages[lnCounter].REFRESH()
  ENDFOR
 ENDWITH
ENDIF

RETURN llRetVal

HTH,

Weedz (Wietze Veld)
My private project:www.crowncap.demon.nl\info\crwnbase
CrownBase source code can be downloaded !!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close