on 11-14-2006 3:21 PM
Hi all,
I wanna know how catch the values of a form like the vendor, due date of the A/P Invoice, there are an examples of that functionality?....
Hope your answers!!!!
Best Regards
Christian
Hi,
you should use the DBDATASOURCES collection of the chosen system form.
See the documentation and the examples in the SDK...
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Example of catching get currently displayed documents CardCode, DocNum and DocEntry (Hidden and only set in saved documents)
DBDataSource dbds = oForm.Datasources.DBDataSource.Item("OINV");
int recordNumber = dbds.OffSet;
string CardCode = dbds.GetValue("CardCode",recordNumber);
int DocNum = Convert.ToInt32(dbds.GetValue("DocNum",recordNumber));
int DocEntry = Convert.ToInt32(dbds.GetValue("DocEntry",recordNumber));
Hope this helps
Do you mean in matrix and you want to catch the selected rows?
You could use this to get the selected row number
oMatrix.GetNextSelectedRow()
so just say you want to get the first selected row u just have to put this
oEditText = oMatrix.Columns.Item("V_0").Cells.Item(oMatrix.GetNextSelectedRow(0)).Specific
Hope this helps
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.