Today the R:Base form is so much more than a data entry tool!  It has become a 
great base for menus and push buttons to eliminate the need for the Application 
Designer.  A good place to start with discovering the power of the new forms is 
right in the Help menu.
 
Help
 Table of Contents 
  Reference Index
    How To
     Forms
       Form Designer
         Form Controls
           Additional Controls
             Bit Button
               Properties and EEPs
 
Entry Exit Procedures (EPPs)  are available for most controls.  Basically they 
can be either a predefined function or a custom script.  They can be internal 
to the form or an external file.
 
So pick one of the many controls such as the Bit Button and add the following 
to the EEP
 
SET VAR vsdate TEXT
SET VAR vfdate TEXT
DIALOG 'Enter Start Date:' Vsdate endkey 1
DIALOG 'Enter Ending Date:' Vedate endkey 1
Print YourReportName where Datefield between .Vsdate and .Vedate order by 
Datefield
Return
 
A few quick notes:
1. If you are using the double quotes for your quote character then replace the 
single ones above with double quotes.
2. All EEPs should end with a RETURN command
 
To add an Icon-image to a form look for the icon with the green and gold gears 
while in the form designer.  This icon will bring up the form properties.  You 
can load a form icon from there.
 
There are a lot of controls to explore so you should be able to find one that 
creates the look and style to meet your goals.  For Menus be sure to check out 
Group Bars and Tree View Controls.
 
Hope that helps,
Jim


>>> "William Brake" <[email protected]> 2/16/2009 11:12 AM >>>
Thanks for your reply.
This is a spare time exercise for me so I don't get to spend a lot of 
time on it.  Hence the slow response.
I am trying to digest your comments.
I've tried it a couple different ways and it still does not work.
Do I understand correctly that the purpose of the form is for entering 
the beginning and ending date variables?
I tried using the form designer to do the form.
How do I add an icon-image to the form?
Also where do you create the eep?

If the simple way is to write code, then my DOS experience should serve 
me well.
However, I have used the application designer so far to do some 
fundamental stuff - like creating a menu driven application that allows 
me to enter data using forms and print reports.
I just haven't figured out how to integrate the custom code stuff.
Thanks, Bill



Paul InterlockInfo wrote:
> As for the question on RList  you are about to be confused and/or very
> happy.  However the learning curve is fun.  
>
> 1. Forget DOS days
> 2. Be happy it is 2009 and you have RList
>
>
>
> To answer your question:  Create a form, place an icon on it,  write your
> eep (print report ..... where ........)  into that icon-image and run that
> form.  In simple terms.
>
>
>
> I recommend reviewing the RList and a lot of Razzak's examples. 
>
>
> I plugged along for about 3 months and then went to RSchool    OMG!   Well
> worth the time.  It was then you find out what all the talk was about.
> I had another RBase user help me (and still does) in the beginning
> conversion from DOS thinking. The simple approach is you write code.  It is
> far much more powerful then the application designer (in my opinion & .02)
> and you can make your code swim uphill so to speak.
>
>
>
>
> Sincerely,
> Paul Dewey 
>
>
> Ps   A plug in for Bernard Lis,  Thank you for the continued support and
> assistance with coding  STILL to this DAY!  And the jokes.  
> I was so confused at first. Yes Razzak, John, Bill.....  -  I know,  I am
> still confused.
>
>
> -------- Original Message --------
> Subject: Basic problem
> Date: Tue, 10 Feb 2009 15:10:01 -0500
> From: William Brake <[email protected]>
> Reply-To: [email protected] 
> Organization: Swiss Valley Associates, Inc.
> To: RBASE-L Mailing List <[email protected]>
>
>
>
> I am a 1980's & 1990's user of RBase for Dos.  Version 3.5.
> Have been away from this for a number of years and would like to use 
> "R:Base 7.6 for Windows" for some simple databases.
>
> I am getting along mostly with everything except the "application designer".
> So I have a table with a date column.
> I want to print a report "where" all records between a user entered 
> "begindate" and "enddate" are printed.
> I used to use custom files in RBase for Dos for this.
> How do I do it now?
>
> Thanks,
> Bill
>
>
>
>
>   

Reply via email to