Hello,
I am tring to use a request form to change values within the country table. I have created a request form with the variables:
Var1: OldCountryCode (data type code 10 and this one has a TableRelation Country)
Var2: NewCountryCode (data type code 10)
If a user selects a value in var1 and then inserts a new value in Var2, when the report is previewed it will modify the field selected with the new value within the country table.
Is this possible, if so whats the best way to go about it?
0
Comments
you want a whole report just to change 1 code at a time?
http://www.BiloBeauty.com
http://www.autismspeaks.org
the reason being is that there are over 250 country code's to go though not all need amending. I have a list of codes that need chaning and was hoping to be able to change them via a report
why not go into form 10 & just change it? Seems like less work to me.
Here's a list I have. you could dataport then in or use the excel importer in the download section
http://savatage99.googlepages.com/countrycodes.xls
http://www.BiloBeauty.com
http://www.autismspeaks.org
to answer you question Yes it can be done.
for example I have a request form where I enter a value 'Hello'
onafterget record I could
validate("FieldToChange",EnteredValue);
modify;
but unless your MASS CHANGING a report is not the way to go.
http://www.BiloBeauty.com
http://www.autismspeaks.org
Just use list forms and card forms to modify data. It'll make your life much easier.
RIS Plus, LLC
MVP - Business Apps
http://www.BiloBeauty.com
http://www.autismspeaks.org
RIS Plus, LLC
MVP - Business Apps
RecVariable.setrange(FieldTofilter,OldValue);
RecVariable.modifyall(FieldToFilter,NewValue);