add a 'hidden' db edit field to the form and set the db edit field default 
value to [.theformvariable].  That's what I do on my forms with DB grids and 
user hits F2 to insert a new row.  This technique allows me to set a variable 
and control default values depending on what the user is entering.  Oh and I'm 
also using latest and greatest V8.

Have a Fabulous Day!
Rachael M.
Freelance Developer
www.DragonflyDevelopmentMN.com
  ----- Original Message ----- 
  From: Jeffrey M. Watson 
  To: RBASE-L Mailing List 
  Sent: Wednesday, March 12, 2008 12:01 PM
  Subject: [RBASE-L] - predefined value for a dbgrid column


  I tried setting  a column optomistically to .theformvariable so I could
  have inserts automate the correct millnumber on the current form. many
  people may use it at once, so I cannot make an "alter table" default,
  and a temp table is not acceptable for this situation. so I can pick the
  exact wysiwyg ".theformvariable" from the menu as a predefined choice,
  though I am trying to get it to put the value of .theformvariable. (no,
  $theformvariable doesn't work either.) let me state that I am CERTAIN
  this is not possible, I am doing it wrong, I am trying to convey what I
  want to do. :-D

  Jeff Watson [EMAIL PROTECTED]
  Tube Methods, Inc.
  610-279-7700

Reply via email to