David Frayer 19.Aug.09 11:04 AM a Web browser Applications Development All Releases All Platforms
If you have a table and one of the cells you have two fields and want to hide one if the other is being used how would you do it ? The fields are used for calculating a price either allowing a user putting in the price or automatice form a list.
Also one of the field is a computed field and the other is editable. The row it is hidden until that row is needed in the form. It has several rows.
I am deeply at a lost.
All I want to do is be able to switch between the computed and the editable field as needed and allow the number that is in that field to be part of the calculation
or insert the number for the price
Here is the code I am trying to use in a button to insert the information, but it is not working the number will not stap and blanks out
Sub Click(Source As Button)
Dim num As Integer
Dim Price_1 As Integer
Dim uidoc As notesuidocument
Dim ws As New NotesUIWorkspace
Set uidoc = ws.CurrentDocument
num% = Cint(Inputbox$("Enter New Price"))
Call uidoc.FieldSetText("Price_1", Cstr(num%))