TCHGirl
asked on
Freezing a field
I have a SQL database where a front end is web design. I have a couple of fields that are shared between departments. What I would like to know is: Is there a way to freeze a field once data has been entered into this field.
I have attached what my field looks like and I have attached the line of code that belongs to that field.
Experts6.13.13.docx
I have attached what my field looks like and I have attached the line of code that belongs to that field.
Experts6.13.13.docx
and if it is entered incomplete or incorrectly?
ASKER
Here is the reason I need to know if this is possible. We have at least 3 departments that share this field. One department puts the information in and the other 2 departments see it on their screen. If the information does not apply to their client they are removing it. We don't want that to happen because it effect reports that use this field.
When a number is typed in that is when I want to freeze it so that it can not be removed. the information is typed in incorrectly then they need to bring the number to the admin and the admin will fix the problem.
Does this make sense??
When a number is typed in that is when I want to freeze it so that it can not be removed. the information is typed in incorrectly then they need to bring the number to the admin and the admin will fix the problem.
Does this make sense??
I call this "enter once" and that type of logic is enforced by application code - NOT the database. In most apps I deal with (J2EE) that means the business logic is handled by Java the UI changes from a text box to a display - so the user has no access to alter the field once it has been saved.
What type of technology is that form shown in the attached image? (because that's what needs to change, not the dbms).
What type of technology is that form shown in the attached image? (because that's what needs to change, not the dbms).
ASKER
That is a line of code for that field. I just put it into word so you could see the code that belongs to that field.
All the coding for this database was done thru notepat ++. It is a HTML.
All the coding for this database was done thru notepat ++. It is a HTML.
<td class="box">
Jas ID#<br>Client ID (A/E):<br><input type="text" name="jas_id" size="10" <%if rs.state <> 0 and not rs.eof then%> value="<%=rs("jas_id")%>"<%end if%>>
</td>
does not look like pure html to me, even if you are using notepad (which isn't a great editor to be using)
If .... end if
indicates programmatic logic IS available ('if' is not html)
Jas ID#<br>Client ID (A/E):<br><input type="text" name="jas_id" size="10" <%if rs.state <> 0 and not rs.eof then%> value="<%=rs("jas_id")%>"<%end if%>>
</td>
does not look like pure html to me, even if you are using notepad (which isn't a great editor to be using)
If .... end if
indicates programmatic logic IS available ('if' is not html)
btw: try this as an alternative editor, it allows for UTF8 too
http://notepad-plus-plus.org/
als note you can run this without installing - if installing is an issue for you
http://notepad-plus-plus.org/
als note you can run this without installing - if installing is an issue for you
ASKER
I will give this a try on Monday.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.