-
So you want to automate the new record button essentially? I am not sure there is a way to do this in the form, it would probably take some code. but i have had similar needs to automatically begin a new record after i have queried another record as a template but i have not figured out the best practice for this.
I do not have an answer on how ...
-
I have a drop down box that the users must make a selection in.
Once they make that selection, I want a specific text box to now be visible.
Is there anyway to do this using Rules?
Thanks.
-
Actually, after digging and testing, this code works
var d=new Date()
d.setDate( d.getDate()-5 );
var day=d.getDate()+ ''/'';
var month=(d.getMonth() + 1)+ ''/'';
var year=d.getFullYear();
-
Oops. goofed there with the reply.
Okay, I have made progress. I added a button on my default view that will (1) run a query using my secondary data connection and (2) automatically switch over to my 'report listing' view. That's good.
Now, is there any way to make this query (using a secondary data connection) conditional? I'd like to ...
-
quote:Originally posted by lotusvball
I have this code in vbScript;
Sub XDocument_OnLoad(eventObj)
' Write your code here
Dim wsh
Dim un
Set wsh = CreateObject(''WScript.Network'')
un = wsh.UserName
XDocument.DOM.selectSingleNode(''//my:myFields/my:tmpFields/my:Field1'').text = un
End Sub
I am trying to populate a text box (Field1) with ...
-
quote:Originally posted by Shanthi
Hello Ray,
You can go to Tools -> Data connections and add more query or recieve data connections to this MS access database. Set this data connection to not get data on load of the form. This can be done in the last page of the wizard. Once the data connection is created, Add a button to the view and in ...
-
When should i use a Field Attribute instead of a Field Element?
-
I am trying to capture the date and subtract 5 days from it. I thought that JScript would automatically roll back to a previous month automatically. My code does not seem to work, the value comes back as blank. Any ideas on what is wrong with this function?
function showNextWeek(){
dtNextWeek = new Date();
dtNextWeek.setDate( ...
-
I am trying to set up validation to make sure the date entered is within 24 hours of todays date. I want to do something like the following but it doesn't seem to work...
dateField is greater then today()+1 or
dateField is less then today()-1
this does not work. Does any one know how to add to a date.
-