Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello All,
Should be a very easy one ....
How do you set a default value on load of an application for a) variable and b) field.
i.e.A) date variable to be set to the minimum value of a datefield and..
B) a field to be set to a specific customer...
Kind Regards,
Dayna
Variable
set vb_Date = '22.10.2009'
Field
TableSales:
LOAD
Field1,
Field2,
'Active' as [Custoemr Status]
a field to be set to a specific customer...
Sub Partenza
'Select the current year
ActiveDocument.GetField("AnnoSel").Select ActiveDocument.Evaluate("year(today())")
'Select the current month
mese = right("0"&ActiveDocument.Evaluate("Num(month(today()))"),2)
ActiveDocument.GetField("MeseSel").Select ActiveDocument.Evaluate(mese)
end sub
Daniela