Link to home
Start Free TrialLog in
Avatar of pdvsa
pdvsaFlag for United States of America

asked on

Continous form

Experts, i have a continous form with a few fields.  One if the fields is [hedgeingStrategy].   The value of this field will always be the same for each [projid].  

I want to avoid continually selecting the value for each [projid]. I dont know if this will make sense to you but how can i make the field [hedgeingStrategy] the same for every inserted record in the form (table).   Maybe an OnCurrent event or afterUpdate or is there a better approach?  I think this is much simpler than i am explaining i think.   Thank you.
ASKER CERTIFIED SOLUTION
Avatar of Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pdvsa

ASKER

Capricorn:  that sounds like what I am after.  I went to the field in the table and see default value but not certain how to make it default to "current value".  I typed "Current Value" in the default value but obviously that is wrong.  I clicked the "..." but dont see anything there that says current value.  

let me know.  thanks.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
what i mean by "current value". is the value that you want to use as default,

say  the value of 100 is the one you said is the same for all Projid

place 100 in the default value property of the field  [hedgeingStrategy].
Avatar of pdvsa

ASKER

oh I see.  Wait let me back up.  I am not thinking about this deep enough.  Jeff has a good point now that I think about it.  

What I meant by [hedgeingStrategy] will be the same is that it will be the same for only the [projid] that is in the underlying table.  I now think that setting a default value in the table is actually not what I am after.  

Sorry for any confusion.  I actually wrote the question from a bar last night and probably wasnt thinking clearly and still am not this am.  haha

maybe after knowing what I am interested in now, the experts can help me better.  

IrogSinta:
<What is an example value for hedgeingStrategy?  
==>it is a combo box with various values.  
<Would it have a limited number of possible values or can its value be calculated from projid?  
==>It is not any number. Only a text value.  I continually add options to this combo box (I have a sort of drop box table that stores all the various cbo options)

Hope I am a little clearer now.
...and just to clarify...
Is:
    projid
...the primary key
Avatar of pdvsa

ASKER

Boag: i have an autonumber as ID which is set as the PK.   projid i think would be classified as a FK to tblprojects.   Thank you