At 08:39 AM 11/7/2004 -0800, Brad Davidson wrote:
How would one automate ADD ROW in a scrolling region in an editing form, upon user entry? Want to give the user a blank entry row and set focus to desired field upon entry of form.
The set focus in property command of On After Start EEP no problem, but, how does one ADD ROW? Yeah, I know the user can press an add row button, just want to automate this.
Brad,
PROPERTY TABLE <FormTableName> 'APPEND'
Will add a new, empty record to the end of the dataset.
Also, the PROPERTY RBASE_FORM PRINT PRINTER command tip very much appreciated where does one find reference to this feature? Am I missing others? (looked in R:Docs) Have the conference CD and as of yet, havent found this.
R:Docs | Form | Form Properties | Print ...
PROPERTY RBASE_FORM PRINT 'PRINTER'
Will print currently displayed form image to the current printer.
For more details:
01. Start R:Docs 02. Select Category: Form 03. Select Control: Form Properties 04. Property: PRINT 05. Value: PRINTER
Other form properties include the following options: . ALIGN . ALPHABLEND . ALPHABLENDVALUE . AUTOSCROLL . AUTOSIZE . BORDERWIDTH . CAPTION . CLIENTHEIGHT . CLIENTWIDTH . COLOR . DISABLECLOSEACTION . DONTSHOWSAVEDIALOG . ENABLED . HEIGHT . HINT . LEFT . PRINT . SHOWHINT . SHOW_CLOSE_BUTTON . SHOW_MXIMIZE_BUTTON . SHOW_MINIMIZE_BUTTON . TOP . TRANSPARENTCOLOR . TRANSPARENTCOLORVALUE . WIDTH
Hope that helps!
Very Best R:egards,
Razzak.
