Also, is this javascript? I really need to brush up on javascript - it's been a while. What is "dlg.setInvoiceID"? I tried to locate some event or method and I don't know where it is. You are "importing" the Add_Invoice_Item form, giving it a reference of "dlg". I understand what it is doing, but I would like to understand the mechanics better. This is the code for the + button (to add an invoiceItem)ĭlg.setInvoiceID( ( 'fldInvoiceID' ).value ) Can you tell me where to find the car catalog project?Ģ. I don't expect Valentina Studio Pro to be that robust, but I need to learn how to control objects to read from and write to them. I just don't understand it.įinally, is their any training offered beyond the few examples in the help sections? I used to program a lot in Microsoft Access, using visual basic for applications. The import example above looks promising. I want to click a button "Add Invoice Item", get the current value in a line edit field called "fldInvoiceID", store that value in a variable, open the Add_InvoiceItem form and put that value into the form in the appropriate field. Instead, I have an edit form that has the invoice already entered. To make it as simple as possible for me, I gave up on starting with adding an invoice. There is no real explanation along with it. I don't understand this example or what it does. It is possible to execute one form from another, get data from it: In another example in your Form Editor - Scripts section that hints at what to do, but isn't quite what I need. I'm used to environments where you can debug, or use a "put" statement or something like that. Question: is there a way to see if the value is being read properly. In one example in Form Editor - Scripts, you have My problem is that I don't know how to refer to the objects of the form and get their value and to pass that value to another form. I would prefer to know how to create a form to do this. I may just enter the invoice, note the id number and then enter the items separately in the data editor. I understand your suggestion to use SQL and I may do that. This button would need to get the invoiceId of the record just added and use that value to pre-populate the invoiceId field of the Add_InvoiceItems form. Then, I would have an "Add Invoice Item" button. I was hoping to have a form where you could add a record, refresh the form so that it pointed to the last record.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |