Hi, Frank,
 
That would be wonderful except <recno> is not a column in my table -  it is 
dependent upon the recordset on which the form is displayed.   Hopefully some 
idea will come to me... :)
 
Diane  DeMers
[email protected]
DeKalb, IL  

 
In a message dated 1/31/2009 4:47:46 P.M. Central Standard Time,  
[email protected] writes:

Diane,

How about a select statement searching the records for  your doc number and 
putting the record no into a variable , and then issue  your property table 
<tablename> <recno> since this command always  works quickly for you.

So code for the button doing a search based on  document number could be like

set var vrecno, vdocno integer =  null
Dialog ' Enter the Document Number to search for' vdocno
select  recno into vrecno from tabllename where docno =  .vdocno
endif

PROPERTY TABLE <tablename> .vrecno

--  Frank Taylor, Information Technologies Administrator
-- F.J. O'Hara Corp -  Araho Transfer -- Boston, MA.  Miami, FL
--  [email protected]<mailto:[email protected]> -- Direct  
Dial:617-790-3093
________________________________
From:  [email protected] [[email protected]] On Behalf Of 
[email protected]  [[email protected]]
Sent: Friday, January 30, 2009 3:29 PM
To:  RBASE-L Mailing List
Subject: [RBASE-L] - Searching on a Column in a  Form

(Oops, the e-mail got sent before I signed it!!  Here it is  again...)

Hi, all,

I have a form based on a table having about  25,000 records with a key field 
called "DocNo".  The form has several  subtables on it.  On the form, I have 
the normal navigation bar; I also  have a button "Jump to Rec#" that uses

"PROPERTY TABLE  <tablename> <record no. to jump to>"

to jump to a  particular record# in the recordset.  This button works well.  
I  also have a button "Jump to Doc#" where I'd like the user to be able to 
enter  the "DocNo" value, and the form would skip to the record whose "DocNo" 
field  has the value specified by the user.  I've tried the  command:

PROPERTY TABLE  'FormTableName->SEARCH->FormColumnName->' varname

where  "varname" is the DocNo specified by the user.  This command will  
ultimately find the record, but the form is repainted for each record along  
the 
way and it takes seconds or minutes to arrive at the specified  record.  I've 
tried using

PROPERTY RBASE_FORM alphablendvalue "0"  and PROPERTY RBASE_FORM 
alphablendvalue "255"

to hide the form until  the record is found (and then display the form), but 
it still can take forever  to arrive at the selected record, and the screen 
periodically blinks during  the processing.

Does anyone have any ideas as to how I can do a search  on a column in the 
recordset that the form is based on, and 1) have it be  quick and 2) not have 
the screen repainted over and over again through the  recordset while the 
column 
is being searched?

Thanks,

Diane  DeMers
[email protected]
DeKalb,  IL

________________________________
A Good Credit Score is 700 or  Above. See yours in just 2 easy  
steps!<http://pr.atwola.com/promoclk/100000075x1215855013x1201028747/aol?redir=http://www.fr
eecreditreport.com/pm/default.aspx?sc=668072%26hmpgID=62%26bcd=DecemailfooterN
O62>

_______________________________________________________________________
This  Email has been scanned for all viruses by PAETEC Email Scanning 
Services,  utilizing MessageLabs proprietary SkyScan infrastructure. If you 
need  
assistance, please contact the Systems Administrator, Frank Taylor at  
[email protected] - 617-790-3093.
** REMEMBER NEVER OPEN AN ATTACHMENT  UNLESS YOU ARE SURE OF IT'S CONTENT AND 
SENDER  **
_______________________________________________________________________




**************Great Deals on Dell Laptops. Starting at $499. 
(http://pr.atwola.com/promoclk/100000075x1217883258x1201191827/aol?redir=http://ad.doubleclick.
net/clk;211531132;33070124;e)

Reply via email to